login
A191014
a(n) = 10*a(n-1) + 2*a(n-2), with a(0)=0, a(1)=1.
2
0, 1, 10, 102, 1040, 10604, 108120, 1102408, 11240320, 114608016, 1168560800, 11914824032, 121485361920, 1238683267264, 12629803396480, 128775400499328, 1313013611786240, 13387686918861056, 136502896412183040, 1391804337959552512, 14191049172419891200
OFFSET
0,3
FORMULA
G.f.: -x /(-1 + 10*x + 2*x^2). - R. J. Mathar, Nov 21 2011
MATHEMATICA
LinearRecurrence[{10, 2}, {0, 1}, 50]
PROG
(Magma) I:=[0, 1]; [n le 2 select I[n] else 10*Self(n-1)+2*Self(n-2): n in [1..50]]; // Vincenzo Librandi, Feb 20 2012
(PARI) Vec(x/(1-10*x-2*x^2)+O(x^99)) \\ Charles R Greathouse IV, Feb 20 2012
CROSSREFS
Sequence in context: A038378 A158242 A147636 * A147550 A162666 A061630
KEYWORD
nonn,easy,less
AUTHOR
STATUS
approved