OFFSET
0,2
FORMULA
a(1)=0, p(i)=position of first occurrence of a(i) in decimal places of sqrt(Pi), a(i+1)=p(i).
EXAMPLE
sqrt(Pi)=1.7724538509055...
So for example, a(2)=9 because 9th decimal place of sqrt(Pi) is 0.
a(3)=10 because 10th decimal place of sqrt(Pi) is 9, a(4)=75 because 10 appears at the 75th to 76th decimal places and so on.
This sequence, like the one for Zeta(3) (A098290), repeats after just a few terms once the sequence hits 4 at position 4.
MAPLE
with(StringTools): Digits:=1000: G:=convert(evalf(sqrt(Pi)), string): a[0]:=0: for n from 1 to 15 do a[n]:=Search(convert(a[n-1], string), G)-2:printf("%d, ", a[n-1]):od: # Nathaniel Johnston, Apr 30 2011
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Sep 03 2004
STATUS
approved