|
|
A097268
|
|
Numbers that are both the sum of two nonzero squares and the difference of two nonzero squares.
|
|
24
|
|
|
5, 8, 13, 17, 20, 25, 29, 32, 37, 40, 41, 45, 52, 53, 61, 65, 68, 72, 73, 80, 85, 89, 97, 100, 101, 104, 109, 113, 116, 117, 125, 128, 136, 137, 145, 148, 149, 153, 157, 160, 164, 169, 173, 180, 181, 185, 193, 197, 200, 205, 208, 212, 221, 225, 229, 232, 233
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Intersection of A000404 (sum of squares) and A024352 (difference of squares).
|
|
LINKS
|
|
|
PROG
|
(PARI) isA097268(n) = forstep( b=2, sqrtint(n-1), 2, issquare(n-b^2) && return(1)) \\ M. F. Hasler, Jan 24 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|