OFFSET
1,2
COMMENTS
FORMULA
G.f.: (x^7 - 2*x^6 + x^5 - 3*x^4 + x^3 + 2*x^2 + x + 1)/((1-2*x^2+x^4)*(1-2*x^2-x^4)*(1-x)) (conjectured).
EXAMPLE
PROG
(PARI) for(n=1, 10^8, for(i=-1, 1, f=0; if(issquare(n*(n+1)/2+i), f=1; break)); if(f, print1(n, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Sep 13 2013
STATUS
approved