OFFSET
0,2
FORMULA
a(1)=0, p(i)=position of first occurrence of a(i) in decimal places of phi, a(i+1)=p(i).
EXAMPLE
phi=1.61803398874989484820...
So for example, a(2)=4 because 4th decimal place of phi is 0.
a(3)=11 because 11th decimal place of phi is 4, a(4)=34 because 11 appears at the 34th to 35th decimal places and so on.
MAPLE
with(StringTools): Digits:=100000: G:=convert(evalf((1+sqrt(5))/2), string): a[0]:=0: for n from 1 to 17 do a[n]:=Search(convert(a[n-1], string), G)-2:printf("%d, ", a[n-1]):od: # Nathaniel Johnston, Apr 30 2011
CROSSREFS
KEYWORD
more,nonn,base
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Sep 03 2004
EXTENSIONS
a(17)-a(24) from Nathaniel Johnston, Apr 30 2011
STATUS
approved