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

A027138
a(n) = Sum_{k=0..2n} (k+1) * A027113(n, 2n-k).
1
1, 7, 26, 85, 264, 803, 2422, 7281, 21860, 65599, 196818, 590477, 1771456, 5314395, 15943214, 47829673, 143489052, 430467191, 1291401610, 3874204869, 11622614648, 34867843987, 104603532006, 313810596065, 941431788244, 2824295364783, 8472886094402
OFFSET
1,2
FORMULA
For n>1, a(n) = 10*3^(n-2) - n - 1.
For n>4, a(n) = 5*a(n-1) - 7*a(n-2) + 3*a(n-3). - Colin Barker, Jul 11 2015
G.f.: -x*(x^3-2*x^2+2*x+1) / ((x-1)^2*(3*x-1)). - Colin Barker, Jul 11 2015
PROG
(PARI) Vec(-x*(x^3-2*x^2+2*x+1)/((x-1)^2*(3*x-1)) + O(x^50)) \\ Colin Barker, Jul 11 2015
CROSSREFS
Sequence in context: A027937 A135026 A335639 * A282703 A240256 A372611
KEYWORD
nonn,easy
STATUS
approved