A232438 Squares or double-squares that are the sum of two distinct nonzero squares in exactly one way.
25, 50, 100, 169, 200, 225, 289, 338, 400, 450, 578, 676, 800, 841, 900, 1156, 1225, 1352, 1369, 1521, 1600, 1681, 1682, 1800, 2025, 2312, 2450, 2601, 2704, 2738, 2809, 3025, 3042, 3200, 3362, 3364, 3600, 3721, 4050, 4624, 4900, 5202, 5329, 5408, 5476
Offset: 1
Keywords
Examples
25 = 5^2 = 16+9; 50 = 2*5^2 = 49+1.
Links
- Jean-Christophe Hervé and Donovan Johnson, Table of n, a(n) for n = 1..1000 (first 368 terms from Jean-Christophe Hervé)
Crossrefs
Programs
-
Mathematica
Select[Range[10^4], (IntegerQ[Sqrt[#]] || IntegerQ[Sqrt[#/2]]) && Count[ PowersRepresentations[#, 2, 2], {x_, y_} /; Unequal[0, x, y]] == 1 &] (* or *) Select[Range[10^4], SquaresR[2, #] == 12 &] (* Jean-François Alcover, Dec 03 2013 *)
Comments