

A123875


Similar to A123872 but with a(0)=8 as seed.


1




OFFSET

0,1


REFERENCES

G. Balzarotti and P. P. Lava, Le sequenze di numeri interi, Hoepli, 2008, p. 99.


LINKS

Table of n, a(n) for n=0..5.


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

Sequence in context: A300885 A300941 A075486 * A217479 A301495 A112145
Adjacent sequences: A123872 A123873 A123874 * A123876 A123877 A123878


KEYWORD

nonn,base,more


AUTHOR

Paolo P. Lava and Giorgio Balzarotti, Oct 17 2006, Oct 24 2006


STATUS

approved



