login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A088576 Position of the first location of n in the decimal expansion of e. 2
14, 3, 1, 18, 11, 12, 21, 2, 4, 13, 196, 201, 371, 28, 224, 202, 95, 89, 3, 109, 112, 88, 253, 17, 34, 93, 31, 1, 5, 132, 72, 190, 111, 143, 144, 18, 20, 271, 86, 107, 67, 125, 98, 135, 240, 11, 104, 26, 229, 35, 236, 94, 16, 19, 77, 302, 154, 39, 326, 12, 21, 243, 33 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

Except for a(0), the same as A051238.

LINKS

T. D. Noe, Table of n, a(n) for n=0..10000

EXAMPLE

The first 7 is in the 2nd position of the digits of e, so a(7) = 2.

PROG

(PARI) trajedigitsd(n, m) = { default(realprecision, 6000); p = exp(1)*10^5000; v = Vec(Str(p)); for(d=0, m, for(x=1, n, if(d<10, y = eval(v[x]), if(d<100, y = eval(v[x])*10 + eval(v[x+1]), if(d<1000, y = eval(v[x])*100 + eval(v[x+1])*10 + eval(v[x+2]), y = eval(v[x])*1000 + eval(v[x+1])*100 + eval(v[x+2])*10 + eval(v[x+3]) ); ); ); if(y == d, print1(x", "); break); ); ) }

CROSSREFS

Cf. A032445 (positions in pi), A088577 (positions in phi)

Sequence in context: A037923 A040195 A040189 * A204159 A040190 A163647

Adjacent sequences:  A088573 A088574 A088575 * A088577 A088578 A088579

KEYWORD

nonn,base

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Nov 19 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 12:04 EST 2012. Contains 205782 sequences.