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.

A262018 The first of five consecutive positive integers the sum of the squares of which is equal to the sum of the squares of eleven consecutive positive integers.

Original entry on oeis.org

28, 5308, 945148, 168231388, 29944242268, 5329906892668, 948693482652988, 168862110005339548, 30056506887467786908, 5349889363859260730428, 952250250260060942229628, 169495194656926988456143708, 30169192398682743884251350748, 5369946751770871484408284289788
Offset: 1

Views

Author

Colin Barker, Sep 08 2015

Keywords

Comments

For the first of the corresponding eleven consecutive positive integers, see A262019.

Examples

			28 is in the sequence because 28^2 + ... + 32^2 = 4510 = 15^2 + ... + 25^2.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{179,-179,1},{28,5308,945148},30] (* Harvey P. Dale, May 16 2019 *)
  • PARI
    Vec(-4*x*(7*x^2+74*x+7)/((x-1)*(x^2-178*x+1)) + O(x^20))

Formula

a(n) = 179*a(n-1)-179*a(n-2)+a(n-3) for n>3.
G.f.: -4*x*(7*x^2+74*x+7) / ((x-1)*(x^2-178*x+1)).

A262019 The first of eleven consecutive positive integers the sum of the squares of which is equal to the sum of the squares of five consecutive positive integers.

Original entry on oeis.org

15, 3575, 637215, 113421575, 20188404015, 3593422493975, 639609015524415, 113846811340852775, 20264092809656270415, 3606894673307475281975, 642006987755920943922015, 114273636925880620542837575, 20340065365818994535681167215, 3620417361478855146730704927575
Offset: 1

Views

Author

Colin Barker, Sep 08 2015

Keywords

Comments

For the first of the corresponding five consecutive positive integers, see A262018.

Examples

			15 is in the sequence because 15^2 + ... + 25^2 = 4510 = 28^2 + ... + 32^2.
		

Crossrefs

Programs

  • PARI
    Vec(5*x*(5*x^2-178*x-3)/((x-1)*(x^2-178*x+1)) + O(x^20))

Formula

a(n) = 179*a(n-1)-179*a(n-2)+a(n-3) for n>3.
G.f.: 5*x*(5*x^2-178*x-3) / ((x-1)*(x^2-178*x+1)).
Showing 1-2 of 2 results.