[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A173835
10^n+2*n.
1
1, 12, 104, 1006, 10008, 100010, 1000012, 10000014, 100000016, 1000000018, 10000000020, 100000000022, 1000000000024, 10000000000026, 100000000000028, 1000000000000030, 10000000000000032, 100000000000000034
OFFSET
0,2
FORMULA
G.f.: (1-19*x^2)/((1-x)^2*(1-10*x)). - Vincenzo Librandi, Jul 06 2012
a(n) = 11*a(n-1) -10*a(n-2) -18. - Vincenzo Librandi, Jul 06 2012
MATHEMATICA
CoefficientList[Series[(1-19*x^2)/((1-x)^2*(1-10*x)), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 06 2012 *)
LinearRecurrence[{12, -21, 10}, {1, 12, 104}, 20] (* Harvey P. Dale, Dec 01 2015 *)
PROG
(Magma) I:=[1, 12]; [n le 2 select I[n] else 11*Self(n-1)-10*Self(n-2)-18: n in [1..20]]; // Vincenzo Librandi, Jul 06 2012
CROSSREFS
Sequence in context: A222540 A279301 A003431 * A334168 A220111 A353549
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 26 2010
STATUS
approved