login
A196732
Position of n-th appearance of n in decimal expansion of Pi.
1
2, 17, 16, 37, 49, 73, 97, 75, 56, 855, 710, 1081, 1077, 1637, 1658, 1652, 890, 1675, 1228, 2040, 1487, 2373, 2691, 2289, 2034, 2283, 1786, 2704, 4156, 3103, 3522, 3768, 4326, 3809, 3552, 4082, 3786, 3230, 4465, 4885, 4128, 4229, 5337, 3962, 4243, 3634, 4572, 3869, 4357, 5836
OFFSET
1,1
COMMENTS
In decimal expansion of Pi (A000796)3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4,6,2,6,4,3,3,8,3,
2,7,9,5,0,2,8,8,4,
"1" is at 2nd position, hence a(1)=2,
"2" is at 7th and 17th positions, hence a(2)=17,
"3" is at 1st, 9th and 16th positions, hence a(3)=16.
MATHEMATICA
rd=RealDigits[N[Pi, 2*10^7]][[1]]; Table[idn=IntegerDigits[n]; Position[Partition[rd, Length[idn], 1], idn][[n, 1]], {n, 1000}]
CROSSREFS
Cf. A000796.
Sequence in context: A226291 A359437 A077311 * A346391 A153652 A198290
KEYWORD
nonn,base
AUTHOR
Zak Seidov, Oct 05 2011
STATUS
approved