|
|
A171226
|
|
9+10^n+9*100^n.
|
|
1
|
|
|
19, 919, 90109, 9001009, 900010009, 90000100009, 9000001000009, 900000010000009, 90000000100000009, 9000000001000000009, 900000000010000000009, 90000000000100000000009, 9000000000001000000000009, 900000000000010000000000009, 90000000000000100000000000009
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 111*a(n-1) -1110*a(n-2) +1000*a(n-3).
G.f.: -(19-1190*x+9190*x^2)/((x-1) * (100*x-1) * (10*x-1)). - R. J. Mathar, Feb 14 2010
|
|
MAPLE
|
|
|
MATHEMATICA
|
LinearRecurrence[{111, -1110, 1000}, {19, 919, 90109}, 20] (* Harvey P. Dale, Oct 24 2011 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|