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.

A085625 Numbers that are the sum of 2 squares in exactly 2 ways.

Original entry on oeis.org

25, 50, 65, 85, 100, 125, 130, 145, 169, 170, 185, 200, 205, 221, 225, 250, 260, 265, 289, 290, 305, 338, 340, 365, 370, 377, 400, 410, 442, 445, 450, 481, 485, 493, 500, 505, 520, 530, 533, 545, 565, 578, 580, 585, 610, 629, 676, 680, 685, 689, 697, 730
Offset: 1

Views

Author

Hugo Pfoertner, Jul 09 2003

Keywords

Comments

Wells erroneously writes that this sequence begins as 50, 65, 85, 145, ... . - Stefano Spezia, Sep 07 2024

Examples

			a(3) = 65 because 65 = 8^2 + 1^2 = 7^2 + 4^2;
a(4) = 85 because 85 = 9^2 + 2^2 = 7^2 + 6^2.
		

References

  • David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See p. 125.

Crossrefs

Programs

  • Mathematica
    Select[Range[730], Length[PowersRepresentations[#,2,2]]==2 &] (* Stefano Spezia, Sep 07 2024 *)

Formula

n such that A000161(n) = 2.