A025319 Numbers that are the sum of 2 distinct nonzero squares in 9 or more ways.
71825, 93925, 122525, 138125, 143650, 156325, 160225, 173225, 187850, 204425, 209525, 223925, 226525, 235625, 244205, 245050, 257725, 267325, 273325, 276250, 287300, 292825, 296225, 300625, 308125, 308425, 312650, 320450, 333125, 337025
Offset: 1
Keywords
Links
Programs
-
Mathematica
nn = 337025; t = Table[0, {nn}]; lim = Floor[Sqrt[nn - 1]]; Do[num = i^2 + j^2; If[num <= nn, t[[num]]++], {i, lim}, {j, i - 1}]; Flatten[Position[t, ?(# >= 9 &)]] (* _T. D. Noe, Apr 07 2011 *)
Comments