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.

A374287 a(n) is the smallest number which can be represented as the sum of n distinct nonzero squares in exactly 2 ways, or -1 if no such number exists.

Original entry on oeis.org

-1, 65, 62, 90, 103, 136, 200, 276, 376, 481, 625, 806, 975, 1183, 1415, 1688, 1989, 2325, 2698, 3110, 3563, 4059, 4600, 5188, 5825, 6513, 7254, 8050, 8903, 9815, 10788, 11824, 12925, 14093, 15330, 16638, 18019, 19475, 21008, 22620, 24313, 26089, 27950, 29898
Offset: 1

Views

Author

Ilya Gutkovskiy, Jul 02 2024

Keywords

Examples

			a(2) = 65 = 1^2 + 8^2 = 4^2 + 7^2.
a(3) = 62 = 1^2 + 5^2 + 6^2 = 2^2 + 3^2 + 7^2.
		

Crossrefs

Extensions

a(12) and beyond from Michael S. Branicky, Jul 02 2024