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

%I #18 Jul 31 2019 19:03:35

%S 23,31,49,58,67,105,112,120,134,156,167,169,173,178,205,215,242,264,

%T 277,282,285,295,298,329,331,338,353,368,388,393,395,408,416,450,453,

%U 469,487,507,516,524,527,539,555,570,580,587,627,634,651,659,672,678,687

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

%H G. C. Greubel, <a href="/A054291/b054291.txt">Table of n, a(n) for n = 1..10000</a>

%t Flatten[Position[RealDigits[GoldenRatio, 10, 500][[1]], 5]] (* _G. C. Greubel_, Jul 31 2019 *)

%Y Cf. A001622.

%K nonn,base

%O 1,1

%A _Simon Plouffe_, Feb 20 2000