OFFSET
1,1
COMMENTS
In many cases A308702(n), the least integer m such that m^2+2*n-1 and m^2+4*n is the trivial solution: m = n-1.
So this sequence lists the integers k for which a smaller m can be found.
LINKS
Michel Marcus, Table of n, a(n) for n = 1..500
PROG
(PARI) isok2(m, k) = issquare(m) && issquare(m+k-1) && issquare(m+2*k);
findm(k) = my(m=1); while (!isok2(m^2, k), m++); m;
least(n) = findm(2*n); \\ A308702
isok(n) = least(n) != (n-1);
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Jun 18 2019
STATUS
approved