OFFSET
1,1
COMMENTS
Includes all odd numbers >= 3 because every odd number a has a Pythagorean triple (a, b, b+1).
EXAMPLE
12 qualifies because it's part of (5, 12, 13). 8 doesn't qualify because no Pythagorean triple of the form (a, b, b+1) has 8 in it; in every triple of this kind, b is the only even number, and a in the triple (a, 8, 9) would be the square root of 17, which is not an integer.
MAPLE
N:= 500: # to get all terms up to N
sort([seq(2*i+1, i=1 .. floor((N-1)/2)), seq(2*j*(j+1), j = 1 .. floor((sqrt(1+2*N)-1)/2))]); # Robert Israel, Mar 29 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
J. Lowell, Mar 29 2015
STATUS
approved