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!)
A028992 Even 9-gonal (or enneagonal) numbers. 2
0, 24, 46, 154, 204, 396, 474, 750, 856, 1216, 1350, 1794, 1956, 2484, 2674, 3286, 3504, 4200, 4446, 5226, 5500, 6364, 6666, 7614, 7944, 8976, 9334, 10450, 10836, 12036, 12450, 13734, 14176, 15544, 16014, 17466, 17964, 19500, 20026, 21646, 22200, 23904 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
Eric Weisstein's World of Mathematics, Nonagonal Number
FORMULA
a(n) = (1/2)*(28*(n-1)^2 + 60*(n-1) + 33 + (14*(n-1)+15)*(-1)^(n-1)).
a(n) = a(n-1)+2*a(n-2)-2*a(n-3)-a(n-4)+a(n-5) for n>4. - Colin Barker, May 30 2015
G.f.: -2*x*(3*x^3+30*x^2+11*x+12) / ((x-1)^3*(x+1)^2). - Colin Barker, May 30 2015
PROG
(Magma) [(1/2)*(28*(n-1)^2 + 60*(n-1) + 33 + (14*(n-1)+15)*(-1)^(n-1)): n in [0..40]]; // Vincenzo Librandi, Aug 19 2011
(PARI) concat(0, Vec(-2*x*(3*x^3+30*x^2+11*x+12)/((x-1)^3*(x+1)^2) + O(x^100))) \\ Colin Barker, May 30 2015
CROSSREFS
Cf. A001106.
Sequence in context: A226327 A063323 A154590 * A220515 A215148 A040552
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
0 inserted, offset and formula corrected by Omar E. Pol, Aug 19 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 September 29 04:04 EDT 2023. Contains 365750 sequences. (Running on oeis4.)