[go: up one dir, main page]

login
Positions of 2's in the decimal expansion of (1 + sqrt(5))/2.
1

%I #12 Jul 31 2019 19:05:11

%S 20,39,52,55,63,64,68,73,79,86,89,121,123,130,131,132,153,175,183,184,

%T 192,194,197,206,214,224,229,230,231,236,239,246,248,269,270,290,308,

%U 315,349,350,352,382,389,407,410

%N Positions of 2's in the decimal expansion of (1 + sqrt(5))/2.

%H G. C. Greubel, <a href="/A054288/b054288.txt">Table of n, a(n) for n = 1..1000</a>

%t Flatten[Position[RealDigits[(Sqrt[5]+1)/2,10,1000][[1]],2]] (* _Harvey P. Dale_, Oct 30 2014 *)

%Y Cf. A001622.

%K nonn,base

%O 1,1

%A _Simon Plouffe_, Feb 20 2000