OFFSET
1,1
COMMENTS
Nonsquare terms of A155563. - Joerg Arndt, Jan 11 2015
EXAMPLE
PROG
(PARI) isA155560(n /* omit optional 2nd arg for the present sequence */, c=[3, 1]) = { 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, 10^3, isA155560(n) & print1(n", "))
(PARI) is(n)=!issquare(n) && #bnfisintnorm(bnfinit(z^2+z+1), n) && #bnfisintnorm(bnfinit(z^2+1), n);
select(n->is(n), vector(1500, j, j)) \\ Joerg Arndt, Jan 11 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jan 24 2009
STATUS
approved