|
|
A322777
|
|
Scan first k digits of Pi starting with 3, for k = 1,2,3,..., record all distinct numbers in the order in which they appear.
|
|
2
|
|
|
3, 31, 1, 314, 14, 4, 3141, 141, 41, 31415, 1415, 415, 15, 5, 314159, 14159, 4159, 159, 59, 9, 3141592, 141592, 41592, 1592, 592, 92, 2, 31415926, 1415926, 415926, 15926, 5926, 926, 26, 6, 314159265, 14159265, 4159265, 159265, 59265, 9265, 265, 65, 3141592653
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Skip any "numbers" that begin with 0, except 0 itself.
Presumably this is a permutation of the nonnegative numbers.
|
|
LINKS
|
|
|
PROG
|
(PARI) pid=Pi; s=Set(); for (k=1, 10, my (f=floor(pid)); forstep (w=k, 1, -1, v=f % (10^w); if (!setsearch(s, v), print1 (v ", "); s=setunion(s, Se
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|