OFFSET
0,1
COMMENTS
Locations in the expansion of phi are numbered 0 for the digit before the decimal point, 1 for the first digit after the decimal point, and so on.
FORMULA
a(n) = A088577(n) - 1.
EXAMPLE
The first occurrence of 0 in phi occurs 4 places after the decimal point, so a(0)=4; 5 first occurs 22 places after the decimal point, so a(5)=22; 10 first occurs 231 places after the decimal point so a(10)=231.
MATHEMATICA
Table[-1 + SequencePosition[#, IntegerDigits@ n][[1, 1]], {n, 0, 50}] &@ First@ RealDigits@ N[GoldenRatio, 10^4]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
James C. McMahon, Apr 06 2023
STATUS
approved