OFFSET
1,1
COMMENTS
Subsequence of A155570 (where a,b,c,d may be zero).
PROG
(PARI) isA155710(n, /* use optional 2nd arg to get other analogous sequences */c=[5, 3]) = { for(i=1, #c, for(b=1, sqrtint((n-1)\c[i]), issquare(n-c[i]*b^2) & next(2)); return); 1}
for( n=1, 1111, isA155710(n) & print1(n", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
M. F. Hasler, Jan 25 2009
STATUS
approved