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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A258167 Indices of the start of 9 successive distinct digits in the decimal expansion of e (2.718281828...). 1
231, 729, 818, 911, 1730, 1731, 2031, 2032, 2033, 2788, 3420, 3682, 3683, 3685, 3796, 4265, 4486, 4655, 4656, 4657, 4692, 5206, 5207, 5445, 5446, 5783, 5836, 5837, 5840, 6051, 6063, 8758, 9756, 9757, 9954, 9979, 10003, 10006, 10123, 10303, 10321, 10416 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

231 is in the sequence because the 9 digits starting at the 231st digit of e are 8, 4, 1, 6, 7, 5, 0, 9, 2.

PROG

(PARI)

default(realprecision, 20080);

infix(v, a, b) = {my(i, s=[]); for(i=a, b, s=concat(s, v[i])); s}

pane(m) = {

  L=List(); p=exp(1); for(n=1, 20000, d=floor(p); p=(p-d)*10; listput(L, d)); v=Vec(L);

  s=[]; for(k=1, #v-m+1, in=infix(v, k, k+m-1); if(#in==#vecsort(in, , 8), s=concat(s, k))); s

}

pane(9)

CROSSREFS

Cf. A001113, A258166.

Sequence in context: A276832 A324319 A246886 * A287472 A183672 A183664

Adjacent sequences:  A258164 A258165 A258166 * A258168 A258169 A258170

KEYWORD

nonn,base

AUTHOR

Colin Barker, May 22 2015

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 October 19 04:40 EDT 2019. Contains 328211 sequences. (Running on oeis4.)