login
A078397
a(n) = A078296(n+1)/A078296(n).
3
12, 103, 999, 9998, 100004, 1000001, 100000012, 100000007, 9999999952, 999999999936, 9999999999999, 10000000000000008, 999999999999999933, 999999999999999999411, 10000000000000000000006
OFFSET
1,1
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
Amarnath Murthy, Nov 26 2002
EXTENSIONS
Edited and extended by Klaus Brockhaus, Dec 06 2002
STATUS
approved