OFFSET
0,1
REFERENCES
G. Balzarotti and P. P. Lava, Le sequenze di numeri interi, Hoepli, 2008, p. 99.
EXAMPLE
a(0)=8;
a(1)=6 because 8*6 = 48;
a(2)=26 because 48*26 = 1248;
a(3)=626 because 1248*626 = 781248;
a(4)=15626 because 781248*15626 = 12207781248.
MAPLE
P:=proc(q, h) local a, b, k, n; a:=h; b:=ilog10(a)+1; print(h);
for k from 1 to 10 do for n from 2 to q do
if ((a*n) mod 10^b)=a then print(n); a:=a*n; b:=ilog10(a)+1;
break; fi; od; od; end: P(10^9, 8);
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Paolo P. Lava and Giorgio Balzarotti, Oct 17 2006, Oct 24 2006
STATUS
approved