cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-4 of 4 results.

A253707 Numbers M(n) which are the number of terms in the sums of consecutive cubed integers equaling a squared integer, b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2, for a first term b(n) being an odd squared integer (A016754).

Original entry on oeis.org

17, 98, 291, 644, 1205, 2022, 3143, 4616, 6489, 8810, 11627, 14988, 18941, 23534, 28815, 34832, 41633, 49266, 57779, 67220, 77637, 89078, 101591, 115224, 130025, 146042, 163323, 181916, 201869, 223230, 246047, 270368, 296241, 323714, 352835, 383652, 416213
Offset: 1

Views

Author

Vladimir Pletser, Jan 09 2015

Keywords

Comments

Numbers M(n) such that b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2 has nontrivial solutions over the integers for b(n) being an odd squared integer (A016754).
To every odd squared integer b corresponds a sum of a consecutive cubed integers starting at b having at least one nontrivial solution. For n>=1, b(n)= (2n+1)^2 (A016754), M(n) = (sqrt(b)-1) (2b-1)/2 = n(8n(n+1)+1) (this sequence), and c(n)= (b-1)(4b^2-1)/8 = (n (n+1)/2)(4(2n+1)^4-1) (A253708).
The trivial solutions with M < 1 and b < 2 are not considered here.

Examples

			For n=1, b(n)=9, M(n)=17, c(n)=323 (see File Triplets link).
		

Crossrefs

Programs

  • Magma
    [n*(8*n*(n+1)+1): n in [1..40]]; // Vincenzo Librandi, Feb 19 2015
  • Maple
    restart: for n from 1 to 50000 do a:= n*(8*n*(n+1)+1): print (a); end do:
  • Mathematica
    f[n_] := n*(8 n (n + 1) + 1); Array[f, 52] (* Michael De Vlieger, Jan 10 2015 *)
    LinearRecurrence[{4,-6,4,-1},{17,98,291,644},40] (* Harvey P. Dale, Jul 31 2018 *)
  • PARI
    Vec(x*(x^2+30*x+17)/(x-1)^4 + O(x^100)) \\ Colin Barker, Jan 10 2015
    

Formula

a(n) = n(8n(n+1)+1).
a(n) = 4*a(n-1)-6*a(n-2)+4*a(n-3)-a(n-4). - Colin Barker, Jan 10 2015
G.f.: x*(x^2+30*x+17) / (x-1)^4. - Colin Barker, Jan 10 2015

A253708 Numbers c(n) whose squares are equal to the sums of consecutive cubed integers b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2, for a first term b(n) being an odd squared integer (A016754).

Original entry on oeis.org

323, 7497, 57618, 262430, 878445, 2399103, 5669972, 12026988, 23457735, 42785765, 73877958, 121874922, 193444433, 297057915, 443289960, 645140888, 918382347, 1281925953, 1758214970, 2373639030, 3158971893, 4149832247, 5387167548, 6917760900, 8794760975
Offset: 1

Views

Author

Vladimir Pletser, Jan 09 2015

Keywords

Comments

Numbers c(n) such that b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2 has nontrivial solutions over the integers for b being an odd squared integer (A016754).
To every odd squared integer b corresponds a sum of M consecutive cubed integers starting at b^3 equaling a squared integer and having at least one nontrivial solution. For n>=1, b(n) = (2n+1)^2 (A016754), M(n) = (sqrt(b)-1)(2b-1)/2 = n(8n(n+1)+1) (A253707), and c(n)= (b-1)(4b^2-1)/8 = (n(n+1)/2)(4(2n+1)^4-1) (this sequence).
The trivial solutions with M < 1 and b < 2 are not considered here.

Examples

			For n=1, b(n)=9, M(n)=17, a(n)=323.
See "File Triplets (M,b,c) for a=(2n+1)^2" link.
		

Crossrefs

Programs

  • Magma
    [(n*(n+1)/2)*(4*(2*n+1)^4-1): n in [1..30]]; // Vincenzo Librandi, Feb 19 2015
  • Maple
    restart: for n from 1 to 50000 do a:= (n*(n+1)/2)(4*(2*n+1)^4-1): print (a); end do:
  • Mathematica
    f[n_] := (n (n + 1)/2) (4 (2 n + 1)^4 - 1); Array[f, 33] (* Michael De Vlieger, Jan 10 2015 *)
  • PARI
    Vec(-x*(323*x^4+5236*x^3+11922*x^2+5236*x+323)/(x-1)^7 + O(x^100)) \\ Colin Barker, Jan 14 2015
    

Formula

a(n) = (n(n+1)/2)(4(2n+1)^4-1).
G.f.: -x*(323*x^4+5236*x^3+11922*x^2+5236*x+323) / (x-1)^7. - Colin Barker, Jan 14 2015

A253724 Numbers c(n) whose squares are equal to the sums of a number M(n) of consecutive cubed integers b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2, starting at b(n) (A002593) for M(n) being twice a squared integer (A001105).

Original entry on oeis.org

504, 8721, 65472, 312375, 1119528, 3293829, 8388096, 19131147, 39999000, 77947353, 143325504, 250991871, 421651272, 683434125, 1073737728, 1641349779, 2448874296, 3575480097, 5119992000, 7204344903, 9977420904, 13619289621, 18345871872, 24414046875
Offset: 2

Views

Author

Vladimir Pletser, Jan 10 2015

Keywords

Comments

Numbers c(n) such that b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2 has nontrivial solutions over the integers for M(n) being twice a squared integer (A001105) and b(n)=(A002593).
If M is twice a squared integer, there always exists at least one nontrivial solution for the sum of M consecutive cubed integers starting at b^3 and equaling to a squared integer c^2. For n>=1, M(n)= 2n^2 (A001105), b(n) = M(M-1)/2 = n^2(2n^2 - 1) (A002593), and c(n)= sqrt(M/2) (M(M^2-1)/2)= n^3(4n^4 - 1) (this sequence).
The trivial solutions with M < 1 and b < 2 are not considered here.

Examples

			For n=2, M(n)=8, b(n)=28, c(n)=504.
See "File Triplets (M,b,c) for M=2n^2" link.
		

Crossrefs

Programs

  • Magma
    [n^3*(4*n^4 - 1): n in [2..30]]; // Vincenzo Librandi, Feb 19 2015
  • Maple
    restart: for n from 2 to 50000 do a:= n^3*(4*n^4 - 1): print (a); end do:
  • Mathematica
    f[n_] := n^3 (4 n^4 - 1); Rest@Array[f, 32] (* Michael De Vlieger, Jan 28 2015 *)
  • PARI
    Vec(-3*x^2*(x^7-8*x^6+27*x^5-216*x^4-1521*x^3-3272*x^2-1563*x-168)/(x-1)^8 + O(x^100)) \\ Colin Barker, Jan 14 2015
    

Formula

a(n) = n^3(4n^4 - 1).
G.f.: -3*x^2*(x^7-8*x^6+27*x^5-216*x^4-1521*x^3-3272*x^2-1563*x-168) / (x-1)^8. - Colin Barker, Jan 14 2015

A218979 Numbers n such that some sum of n consecutive positive cubes is a square.

Original entry on oeis.org

1, 3, 5, 7, 8, 9, 11, 12, 13, 15, 17, 18, 19, 21, 23, 25, 27, 28, 29, 31, 32, 33, 35, 37, 39, 40, 41, 42, 43, 45, 47, 48, 49, 50, 51, 53, 54, 55, 57, 59, 60, 61, 63, 64, 65, 67, 69, 71, 72, 73, 75, 76, 77, 79, 81, 82, 83, 85, 87, 89, 91, 92, 93, 94, 95, 97, 98, 99
Offset: 1

Views

Author

Michel Marcus, Nov 08 2012

Keywords

Comments

The trivial solutions with x = 0 and x = 1 are not considered here.
Numbers n such that x^3 + (x+1)^3 + ... + (x+n-1)^3 = y^2 has nontrivial solutions over the integers.
The nontrivial solutions are found by solving Y^2 = X^3 + d(n)*X with d(n) = n^2*(n^2-1)/4 (A006011), Y = n*y and X = n*x + (1/2)*n*(n-1). [Corrected by Derek Orr, Aug 30 2014]
x^3 + (x+1)^3 + ... + (x+n-1)^3 = y^2 can also be written as y^2 = n(x + (n-1)/2)(n(x + (n-1)/2) + x(x-1)). - Vladimir Pletser, Aug 30 2014
There are 892 triples (n,x,y), with n and x less than 10^5 (1 < n,x < 10^5), which are nontrivial solutions of x^3 + (x+1)^3 + ... + (x+n-1)^3 = y^2 (note that (n,x,y) corresponds to (M,a,c) in A253679, A253680, A253681, A253707, A253708, A253709, A253724, A253725). - Vladimir Pletser, Jan 10 2015

Examples

			See "Examples of triples" link.
		

Crossrefs

Programs

  • PARI
    a(n)=for(x=2,10^7, /* note this limit only generates the terms in the data section */ X = n*x + (1/2)*n*(n-1); d=n^2*(n^2-1)/4;if(issquare(X^3+d*X),return(x)))
    n=1;while(n<100,if(a(n),print1(n,", "));n++) \\ Derek Orr, Aug 30 2014

Extensions

Name changed, a(1) = 1 prepended and a(39)-a(68) from Derek Orr, Aug 30 2014
More terms for 50Vladimir Pletser, Jan 10 2015
Showing 1-4 of 4 results.