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-2 of 2 results.

A257823 Positive integers whose square is the sum of 59 consecutive squares.

Original entry on oeis.org

413, 531, 8673, 11269, 426511, 554187, 9192849, 11944727, 452101247, 587437689, 9744411267, 12661399351, 479226895309, 622683396153, 10329066750171, 13421071367333, 507980056926293, 660043812484491, 10948801010769993, 14226322987973629, 538458381114975271
Offset: 1

Views

Author

Colin Barker, May 10 2015

Keywords

Comments

Positive integers x in the solutions to 2*x^2-118*y^2-6844*y-133458 = 0.

Examples

			413 is in the sequence because 413^2 = 170569 = 22^2+23^2+...+80^2.
		

Crossrefs

Programs

  • Magma
    I:=[413,531,8673,11269,426511,554187,9192849, 11944727]; [n le 8 select I[n] else 1060*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, May 11 2015
  • Mathematica
    LinearRecurrence[{0, 0, 0, 1060, 0, 0, 0, -1}, {413, 531, 8673, 11269, 426511, 554187, 9192849, 11944727}, 30] (* Vincenzo Librandi, May 11 2015 *)
  • PARI
    Vec(-59*x*(x-1)*(7*x^6+16*x^5+163*x^4+354*x^3+163*x^2+16*x+7) / (x^8-1060*x^4+1) + O(x^100))
    

Formula

a(n) = 1060*a(n-4)-a(n-8).
G.f.: -59*x*(x-1)*(7*x^6+16*x^5+163*x^4+354*x^3+163*x^2+16*x+7) / (x^8-1060*x^4+1).

A257825 Positive integers whose square is the sum of 74 consecutive squares.

Original entry on oeis.org

2257, 2849, 21941, 27713, 604765, 763865, 16669573, 21054961, 162316669, 205018517, 4474051285, 5651073085, 123321498797, 155764598629, 1200818695321, 1516726961053, 33099030801665, 41806637918965, 912332431430633, 1152346479602381, 8883656545668089
Offset: 1

Views

Author

Colin Barker, May 10 2015

Keywords

Comments

Positive integers x in the solutions to 2*x^2-148*y^2-10804*y-264698 = 0.

Examples

			2257 is in the sequence because 2257^2 = 5094049 = 225^2+226^2+...+298^2.
		

Crossrefs

Programs

  • Magma
    I:=[2257,2849,21941,27713,604765,763865,16669573, 21054961,162316669,205018517,4474051285,5651073085]; [n le 12 select I[n] else 7398*Self(n-6)-Self(n-12): n in [1..40]]; // Vincenzo Librandi, May 11 2015
  • Mathematica
     LinearRecurrence[{0, 0, 0, 0, 0, 7398, 0, 0, 0, 0, 0, -1}, {2257, 2849, 21941, 27713, 604765, 763865, 16669573, 21054961, 162316669, 205018517, 4474051285, 5651073085}, 40] (* Vincenzo Librandi, May 11 2015 *)
  • PARI
    Vec(-37*x*(5*x^11+5*x^10+61*x^9+77*x^8+593*x^7+749*x^6-20645*x^5-16345*x^4-749*x^3-593*x^2-77*x-61) / ((x^6-86*x^3-1)*(x^6+86*x^3-1)) + O(x^100))
    

Formula

a(n) = 7398*a(n-6)-a(n-12).
G.f.: -37*x*(5*x^11+5*x^10+61*x^9+77*x^8+593*x^7+749*x^6-20645*x^5-16345*x^4-749*x^3-593*x^2-77*x-61) / ((x^6-86*x^3-1)*(x^6+86*x^3-1)).
Showing 1-2 of 2 results.