|
|
A224836
|
|
First occurrence of n consecutive n's in the decimal expansion of Khinchin's constant.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Earls sequence for Khinchin.
|
|
LINKS
|
|
|
EXAMPLE
|
1 first occurs at position 9 after the decimal point.
22 first occurs starting at position 42.
333 first occurs starting at position 1799.
|
|
MATHEMATICA
|
With[{k=RealDigits[Khinchin, 10, 6000][[1]]}, Flatten[Table[ SequencePosition[ k, PadRight[{}, n, n], 1][[All, 1]], {n, 5}]]]-1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Feb 17 2020 *)
|
|
CROSSREFS
|
Cf. A002210 (decimal expansion of Khinchin's constant).
|
|
KEYWORD
|
nonn,base,hard,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|