OFFSET
1,1
COMMENTS
Substrings can start with 0. For example, a(5) = 067982148086513.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
EXAMPLE
The first substring of Pi containing all 10 digits is 314159265358979323846264338327950.
The next substring of Pi is 288419716939937510.
The next substring of Pi is 5820974944592307816.
The next substring of Pi is 406286208998628034825342117.
MATHEMATICA
pi = RealDigits[Pi, 10, 300][[1]]; f := Block[{k = 10}, While[ Union[ Take[pi, k]] != Range[0, 9], k++]; a = Take[pi, k]; pi = Drop[pi, k]; FromDigits@ a]; lst = {}; Do[ AppendTo[lst, f], {10}]; lst (* Robert G. Wilson v, Nov 17 2016 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Bobby Jacobs, Oct 01 2016
EXTENSIONS
Definition clarified by Felix Fröhlich, Oct 30 2016
STATUS
approved