login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A317488 a(n) is the position of the first occurrence of n > a(n-1) after the decimal point in e = 2.71828182845904523... 0
2, 4, 17, 25, 29, 31, 36, 86, 107, 195, 200, 370, 687, 853, 880, 899, 961, 963, 1013, 1153, 1161, 1235, 1263, 1291, 1325, 1347, 1357, 1399, 1444, 1451, 1798, 1846, 2067, 2191, 2258, 2305, 2332, 2356, 2370, 2487, 2516, 2571, 2578, 2690, 2694, 2807, 2926, 2956, 3012 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..49.

EXAMPLE

Moving always to the right in the decimal expansion of e, the string "1" is found at position 2 counting from the first digit after the decimal point, the string "2" is found at position 4, the string "3" at position 17, the string "4" at position 25, etc.

MATHEMATICA

p = ToString[FromDigits[RealDigits[N[E - 2, 2600]][[1]]]]; lst = {0}; Do[

a = StringPosition[p, ToString[n], 1][[1, 1]]; AppendTo[lst, a + lst[[-1]]];

p = StringDrop[p, a], {n, 29}]; Rest[lst]

CROSSREFS

Cf. A001113, A078197, A103186, A281092.

Sequence in context: A118242 A006276 A318367 * A103051 A095018 A081356

Adjacent sequences:  A317485 A317486 A317487 * A317489 A317490 A317491

KEYWORD

nonn,base,easy

AUTHOR

Philipp O. Tsvetkov, Jul 29 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 00:02 EDT 2020. Contains 337333 sequences. (Running on oeis4.)