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

A120848
2^n+3^n-n.
1
2, 4, 11, 32, 93, 270, 787, 2308, 6809, 20186, 60063, 179184, 535525, 1602502, 4799339, 14381660, 43112241, 129271218, 387682615, 1162785736, 3487832957, 10462450334, 31385253891, 94151567412, 282446313673, 847322163850
OFFSET
0,1
LINKS
FORMULA
G.f.: (2-10*x+17*x^2-11*x^3)/((1-2*x)*(1-3*x)*(1-x)^2). - Vincenzo Librandi, Feb 06 2013
MATHEMATICA
CoefficientList[Series[(2 - 10 x + 17 x^2 - 11 x^3)/((1 - 2 x) (1 - 3 x) (1 - x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 06 2013 *)
PROG
(Magma) [2^n+3^n-n: n in [0..30]]; // Vincenzo Librandi, Feb 06 2013
CROSSREFS
Sequence in context: A086690 A059305 A191586 * A320567 A135339 A148170
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 18 2006
EXTENSIONS
Edited by Ray Chandler, Sep 06 2006
STATUS
approved