login
A196662
Expansion of (1-3x)/(1-10x).
5
1, 7, 70, 700, 7000, 70000, 700000, 7000000, 70000000, 700000000, 7000000000, 70000000000, 700000000000, 7000000000000, 70000000000000, 700000000000000, 7000000000000000, 70000000000000000, 700000000000000000, 7000000000000000000, 70000000000000000000
OFFSET
0,2
FORMULA
a(0) = 1, a(n) = 7*10^(n-1) for n>0.
a(n) = Sum_{k=0..n} A193722(n,k)*3^k.
MATHEMATICA
CoefficientList[Series[(1-3x)/(1-10x), {x, 0, 20}], x] (* or *) LinearRecurrence[ {10}, {1, 7}, 30] (* or *) Join[{1}, NestList[10#&, 7, 20]] (* Harvey P. Dale, Dec 18 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Oct 05 2011
STATUS
approved