OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
FORMULA
a(n) = (A047341(n)^2 - 2)/7. - Amiram Eldar, Aug 12 2024
MATHEMATICA
((Table[7*n + {3, 4}, {n, 0, 23}] // Flatten)^2 - 2)/7 (* Amiram Eldar, Aug 12 2024 *)
PROG
(Magma) [k: k in [0..4000] | IsSquare(7*k + 2)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Aug 12 2024
STATUS
approved