login
Numbers that are the sum of 2 distinct nonzero squares (with repetition).
12

%I #22 Nov 23 2019 12:00:06

%S 5,10,13,17,20,25,26,29,34,37,40,41,45,50,52,53,58,61,65,65,68,73,74,

%T 80,82,85,85,89,90,97,100,101,104,106,109,113,116,117,122,125,125,130,

%U 130,136,137,145,145,146,148,149,153,157,160,164,169,170,170,173,178,180,181,185,185,193

%N Numbers that are the sum of 2 distinct nonzero squares (with repetition).

%H Zak Seidov, <a href="/A024507/b024507.txt">Table of n, a(n) for n = 1..3842</a>

%H <a href="/index/Su#ssq">Index entries for sequences related to sums of squares</a>

%t nn=10000;A024507=Table[x^2+y^2,{x,Sqrt[nn]},{y,x+1,Sqrt[nn-x^2]}]//Flatten//Sort (* _Zak Seidov_, Apr 07 2011*)

%Y Cf. A009000, A009003, A024507, A004431 (duplicates removed), A055096.

%K nonn

%O 1,1

%A _Clark Kimberling_

%E Name edited by _Zak Seidov_, Apr 08 2011