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”).

A156796
a(n) = 81*n - 22.
2
59, 140, 221, 302, 383, 464, 545, 626, 707, 788, 869, 950, 1031, 1112, 1193, 1274, 1355, 1436, 1517, 1598, 1679, 1760, 1841, 1922, 2003, 2084, 2165, 2246, 2327, 2408, 2489, 2570, 2651, 2732, 2813, 2894, 2975, 3056, 3137, 3218, 3299, 3380, 3461, 3542
OFFSET
1,1
FORMULA
From Vincenzo Librandi, Mar 01 2012: (Start)
G.f.: x*(59 + 22*x)/(1-x)^2.
a(n) = 2*a(n-1) - a(n-2). (End)
E.g.f.: 22 - (22 - 81*x)*exp(x). - G. C. Greubel, Jun 26 2021
MATHEMATICA
LinearRecurrence[{2, -1}, {59, 140}, 50] (* Vincenzo Librandi, Mar 01 2012 *)
PROG
(PARI) a(n)=81*n-22 \\ Charles R Greathouse IV, Dec 23 2011
(Magma) I:=[59, 140]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, Mar 01 2012
(Sage) [81*n - 22 for n in (1..50)] # G. C. Greubel, Jun 26 2021
CROSSREFS
Sequence in context: A129480 A044310 A044691 * A183348 A106756 A102168
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 16 2009
STATUS
approved