OFFSET
1,1
COMMENTS
x = (10^12 - 8)/79 = 12658227848.
a(1) = 8*x*10 + 8, a(2) = 9*x*10 + 9.
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..152
Wikipedia, Parasitic number.
FORMULA
a(2*k - 1) = 8*(10^(13*k) - 1)/79.
a(2*k) = 9*(10^(13*k) - 1)/79.
EXAMPLE
b = 101265822784.
a(1) = b*10 + 8,
8*a(1) = 8101265822784 = 8*10^12 + b.
PROG
(PARI) a(n)=10^((n+1)\2*13)\79*(9-n%2) \\ Charles R Greathouse IV, Aug 23 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Seiichi Manyama, Aug 22 2017
STATUS
approved