login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A126941 The sequence b[n] defined in A126939. 1
0, 2, 4, 10, 36, 116, 356, 1124, 3558, 11198, 35274, 111208, 350478, 1104474, 3480856, 10970176, 34572858, 108957948, 343386454, 1082198432, 3410598912, 10748664028, 33874922056, 106758413130, 336454174998, 1060351204770, 3341746833612, 10531672766566 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..27.

FORMULA

Empirical g.f.: 2*(x-1)*x*(x^2+x+1) / (x^6+3*x^5+3*x^4+7*x^3+x^2+2*x-1). - Colin Barker, Apr 08 2013

MATHEMATICA

a[0] = 0; a[1] = 2; a[2] = 4; a[3] = 10; a[4] = 36; a[5] = 116; a[n_] := a[n] = a[n-6] + 3*a[n-5] + 3*a[n-4] + 7*a[n-3] + a[n-2] + 2*a[n-1]; Table[a[n], {n, 0, 27}] (* Jean-Fran├žois Alcover, Nov 23 2016 *)

LinearRecurrence[{2, 1, 7, 3, 3, 1}, {0, 2, 4, 10, 36, 116}, 28] (* or *)

CoefficientList[ Series[2x (x - 1)(x^2 + x + 1)/(x^6 + 3x^5 + 3x^4 + 7x^3 + x^2 + 2x - 1), {x, 0, 27}], x] (* Robert G. Wilson v, Nov 23 2016 *)

CROSSREFS

Sequence in context: A210772 A125859 A103854 * A188495 A038077 A006396

Adjacent sequences:  A126938 A126939 A126940 * A126942 A126943 A126944

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Mar 18 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 27 12:23 EST 2020. Contains 338683 sequences. (Running on oeis4.)