OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..21685
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
PROG
(PARI) isA020689(n) = { my(r); forstep(y=sqrtint(ceil(n/7)), 0, -1, r = (n-7*(y^2)); if(!(r%6) && issquare(r/6), return(1))); (0); }; \\ Antti Karttunen, Jan 04 2025
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
STATUS
approved