A343099 Sums of 3 distinct odd squares.
35, 59, 75, 83, 91, 107, 115, 131, 139, 147, 155, 171, 179, 195, 203, 211, 219, 227, 235, 243, 251, 259, 275, 283, 291, 299, 307, 315, 323, 331, 339, 347, 355, 363, 371, 379, 387, 395, 403, 411, 419, 427, 435, 443, 451, 459, 467, 475, 483, 491, 499, 507, 515, 523, 531
Offset: 1
Keywords
Examples
107 is in the sequence since 107 = 1^2 + 5^2 + 9^2.
Links
Programs
-
Maple
N:= 10^4: # for terms <= N S:= {seq(seq(seq(x^2+y^2+z^2, z = 1 .. min(y-2, floor(sqrt(N-x^2-y^2))), 2),y = 1 .. min(x-2, floor(sqrt(N-x^2))), 2), x = 1 .. floor(sqrt(N)),2)}: sort(convert(S,list)); # Robert Israel, Apr 05 2021
Comments