

A100079


Starting from n = 0, a(n) = position of first occurrence of n in decimal places of Catalan's constant.


1



16, 2, 13, 24, 9, 3, 5, 11, 32, 1, 35, 34, 89, 52, 26, 2, 48, 10, 395, 14, 162, 13, 107, 30, 100, 76, 55, 182, 46, 90, 69, 140, 29, 129, 53, 24, 393, 43, 31, 247, 154, 9, 45, 139, 105, 715, 21, 78, 101, 27, 18, 25, 209, 159, 20, 6, 86, 103, 123, 3, 22, 93, 64, 68, 57, 5, 56
(list;
graph;
refs;
listen;
history;
text;
internal format)



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

Cf. A006752 (decimal expansion of Catalan's constant).
Sequence in context: A180730 A040254 A285386 * A144532 A270570 A040255
Adjacent sequences: A100076 A100077 A100078 * A100080 A100081 A100082


KEYWORD

nonn,base,easy


AUTHOR

Mark Hudson (mrmarkhudson(AT)hotmail.com), Nov 03 2004


STATUS

approved



