|
|
|
|
12, 103, 999, 9998, 100004, 1000001, 100000012, 100000007, 9999999952, 999999999936, 9999999999999, 10000000000000008, 999999999999999933, 999999999999999999411, 10000000000000000000006
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(PARI) {a=1; for(n=2, 16, k=floor(log(a)/log(10))+1; v=Str(1); for(i=2, n, v=concat(v, Str(i))); s=eval(v); t=s+1; m=floor(log(s)/log(10))+1; d=k-m; s=s*10^d; t=t*10^d; b=1; j=d; while(b>0, q=floor(s/a); while(b>0&&(p=q*a)<t, if(p>=s, print1(q, ", "); b=0, q++)); s=10*s; t=10*t); a=p)}
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|