OFFSET
1,1
LINKS
Peter Kagey, Table of n, a(n) for n = 1..1000
EXAMPLE
36 = 6^2 = 1 + 35;
121 = 11^2 = 51 + 70;
196 = 14^2 = 51 + 145.
PROG
(PARI) is(k) = issquare(k) && sum(i=1, sqrt(1+12*k)\6, sqrt(1+24*k+12*i-36*i*i)%6==5)>0; \\ Jinyuan Wang, Mar 06 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Olivier Gérard, Mar 05 2020
EXTENSIONS
More terms from Jinyuan Wang, Mar 06 2020
STATUS
approved