login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A027603 a(n) = n^3 + (n+1)^3 + (n+2)^3 + (n+3)^3. 3
36, 100, 224, 432, 748, 1196, 1800, 2584, 3572, 4788, 6256, 8000, 10044, 12412, 15128, 18216, 21700, 25604, 29952, 34768, 40076, 45900, 52264, 59192, 66708, 74836, 83600, 93024, 103132, 113948, 125496, 137800, 150884, 164772 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Sums of four consecutive cubes. - Wesley Ivan Hurt, Dec 16 2015

LINKS

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

P. De Geest, Palindromic Sums of Cubes of Consecutive Integers

Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).

FORMULA

a(n) = 4*a(n-1) -6*a(n-2) +4*a(n-3) -a(n-4) for n>=4.

a(n) = 4*n^3 + 18*n^2 + 42*n + 36 = 4*A173965(n+2).

From Bruno Berselli, Jan 24 2011: (Start)

G.f.: -4*(-9+11*x-10*x^2+2*x^3)/(1-x)^4.

a(n) = A027689(n+1) * A016825(n+1). (End)

MAPLE

A027603:=n->n^3 + (n+1)^3 + (n+2)^3 + (n+3)^3: seq(A027603(n), n=0..50); # Wesley Ivan Hurt, Dec 16 2015

MATHEMATICA

Table[n^3 + (n + 1)^3 + (n + 2)^3 + (n + 3)^3, {n, 0, 33}] (* or *)

Table[Plus@@(Range[n, n + 3]^3), {n, 0, 33}] (* Alonso del Arte, Jan 24 2011 *)

PROG

(Sage) [n^3+(n+1)^3+(n+2)^3+(n+3)^3 for n in xrange(0, 40)] # Zerinvary Lajos, Jul 03 2008

(MAGMA) [4*n^3 + 18*n^2 + 42*n + 36: n in [0..40]]; // Vincenzo Librandi, Jun 04 2011

(Python)

A027603_list, m = [], [24, 12, 28, 36]

for _ in range(10**2):

    A027603_list.append(m[-1])

    for i in range(3):

        m[i+1] += m[i] # Chai Wah Wu, Dec 15 2015

(PARI) Vec(-4*(-9+11*x-10*x^2+2*x^3)/(1-x)^4 + O(x^100)) \\ Altug Alkan, Dec 16 2015

CROSSREFS

Cf. A016825, A027689, A173965.

Sequence in context: A177492 A077448 A085986 * A250813 A268770 A163246

Adjacent sequences:  A027600 A027601 A027602 * A027604 A027605 A027606

KEYWORD

nonn,easy

AUTHOR

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified September 24 04:27 EDT 2017. Contains 292403 sequences.