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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A014637 Odd heptagonal numbers (A000566). 4
 1, 7, 55, 81, 189, 235, 403, 469, 697, 783, 1071, 1177, 1525, 1651, 2059, 2205, 2673, 2839, 3367, 3553, 4141, 4347, 4995, 5221, 5929, 6175, 6943, 7209, 8037, 8323, 9211, 9517, 10465, 10791, 11799, 12145, 13213, 13579, 14707, 15093, 16281, 16687, 17935 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1). FORMULA G.f.:(1+13*x^4+14*x^3+46*x^2+6*x)/((1+x)^2*(1-x)^3) [From Maksym Voznyy (voznyy(AT)mail.ru), Aug 11 2009] From Ant King, Sep 01 2011: (Start) a(n) = (1/8)*(1+(-1)^n+4*n)*(-1+5*(-1)^n+20*n) a(n) = a(n-1)+2*a(n-2)-2*a(n-3)-a(n-4)+a(n-5) a(n) = 80+2*a(n-2)-a(n-4) (End) MATHEMATICA Table[1/8 (1+(-1)^n+4 n) (-1+5 (-1)^n+20 n), {n, 0, 42}] (* Ant King, Sep 01 2011 *) PROG (PARI) a(n)=(5*(-1)^n+20*n-1)*(4*n+1+(-1)^n)/8 \\ Charles R Greathouse IV, Sep 01 2011 CROSSREFS Cf. A000566, A014640, A014773, A014792. Sequence in context: A203878 A043077 A192718 * A062212 A272864 A121183 Adjacent sequences:  A014634 A014635 A014636 * A014638 A014639 A014640 KEYWORD nonn,easy AUTHOR EXTENSIONS Extended and description corrected by Patrick De Geest 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.

Last modified July 6 14:10 EDT 2022. Contains 355110 sequences. (Running on oeis4.)