login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A192440 Coefficient of x^floor(n/2) in the expansion of (1+x+x^3)^n. 3
1, 1, 2, 3, 6, 10, 26, 42, 126, 198, 612, 957, 2970, 4654, 14534, 22815, 71838, 112846, 357884, 562343, 1793296, 2818536, 9026976, 14191575, 45612450, 71726650, 231224060, 363685545, 1175422590, 1849145850, 5989693176, 9424458831, 30586693182, 48133936158, 156483812892 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..200

PROG

(PARI) a(n)=polcoeff((1+x+x^3)^n, n\2);

(Maxima) makelist((coeff(expand((1+x+x^3)^n), x, floor(n/2))), n, 0, 34); /* Bruno Berselli, Jul 01 2011 */

(Magma) P<x>:=PolynomialRing(Integers()); [ Coefficients((1+x+x^3)^n)[Floor(n/2)+1 ]: n in [0..34] ]; // Bruno Berselli, Jul 01 2011

CROSSREFS

Cf. A002426.

Sequence in context: A298537 A272079 A212606 * A327711 A274964 A054357

Adjacent sequences: A192437 A192438 A192439 * A192441 A192442 A192443

KEYWORD

nonn,changed

AUTHOR

Joerg Arndt, Jul 01 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 20 15:35 EDT 2023. Contains 361384 sequences. (Running on oeis4.)