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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A218327 Even octagonal pyramidal numbers (A002414) 1
 30, 70, 364, 540, 1386, 1794, 3480, 4216, 7030, 8190, 12420, 14100, 20034, 22330, 30256, 33264, 43470, 47286, 60060, 64780, 80410, 86130, 104904, 111720, 133926, 141934, 167860, 177156, 207090, 217770, 252000, 264160, 302974, 316710, 360396, 375804, 424650 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..37. Index entries for linear recurrences with constant coefficients, signature (1, 3, -3, -3, 3, 1, -1). FORMULA a(n) = a(n-1) + 3*a(n-2) - 3*a(n-3) - 3*a(n-4) + 3*a(n-5) + a(n-6) - a(n-7) a(n) = 3*a(n-2) - 3*a(n-4) + a(n-6) + 384 a(n) = (4*n-(-1)^n+1)*(4*n-(-1)^n+3)*(4*n-(-1)^n)/8 G. f. 2*x(15+20*x+102*x^2+28*x^3+27*x^4)/((1-x)^4*(1+x)^3) EXAMPLE The sequence of octagonal pyramidal numbers A002414 begins 1, 9, 30, 70, 135, 231, 364, 540, 765, 1045, … As the third even term is 364, then a(3) = 364. MATHEMATICA LinearRecurrence[{1, 3, -3, -3, 3, 1, -1}, {30, 70, 364, 540, 1386, 1794, 3480}, 37] CROSSREFS Cf. A002414, A218326. Sequence in context: A071141 A071312 A071142 * A259753 A308137 A179321 Adjacent sequences: A218324 A218325 A218326 * A218328 A218329 A218330 KEYWORD nonn AUTHOR Ant King, Oct 27 2012 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 April 14 03:49 EDT 2024. Contains 371655 sequences. (Running on oeis4.)