OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
1730 is in the sequence because the 10 digits starting at the 1730th digit of e are 0, 7, 1, 9, 4, 2, 5, 8, 6, 3.
MATHEMATICA
Flatten[Position[Partition[RealDigits[E, 10, 80000][[1]], 10, 1], _?(Length[ Union[ #]]==10&), {1}, Heads->False]] (* Harvey P. Dale, Sep 29 2015 *)
PROG
(PARI)
default(realprecision, 80080);
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, 80000, 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(10)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, May 22 2015
STATUS
approved