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