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.

A343084 a(n) is the smallest number that is the sum of n positive squares in four ways.

Original entry on oeis.org

1105, 129, 52, 53, 36, 37, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89
Offset: 2

Views

Author

Sean A. Irvine, Apr 04 2021

Keywords

Comments

This is r(n,2,4) in Alter's notation.

Examples

			a(2) = 1105 = 4^2 + 33^2 = 9^2 + 32^2 = 12^2 + 31^2 = 23^2 + 24^2.
a(3) = 129 = 1^2 + 8^2 + 8^2 = 2^2 + 2^2 + 11^2 = 2^2 + 5^2 + 10^2 = 4^2 + 7^2 + 8^2.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{2,-1},{1105,129,52,53,36,37,32,33},70] (* Harvey P. Dale, Mar 18 2025 *)

Formula

a(n) = n + 24 for n >= 8.