OFFSET
0,1
LINKS
Eric W. Weisstein, Table of n, a(n) for n = 0..999
Eric Weisstein's World of Mathematics, Catalan's Constant
Eric Weisstein's World of Mathematics, Constant Digit Scanning
EXAMPLE
Catalan's constant begins: 0.915965594177219015054603514932, so first occurrence of 0 after the decimal point is at position 16; first occurrence of 1 is at position 2; first occurrence of 2 is at position 13; etc.
MATHEMATICA
posC[n_] := Module[{c = RealDigits[Catalan, 10, 2000][[1]], idn = IntegerDigits[n]}, Position[Partition[c, Length[idn], 1], idn][[1, 1]]]; Table[posC[n], {n, 0, 90}] (* Harvey P. Dale, Mar 19 2011 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Mark Hudson (mrmarkhudson(AT)hotmail.com), Nov 03 2004
STATUS
approved