A374584 Numbers k such that 7*k + 2 is a square.
1, 2, 14, 17, 41, 46, 82, 89, 137, 146, 206, 217, 289, 302, 386, 401, 497, 514, 622, 641, 761, 782, 914, 937, 1081, 1106, 1262, 1289, 1457, 1486, 1666, 1697, 1889, 1922, 2126, 2161, 2377, 2414, 2642, 2681, 2921, 2962, 3214, 3257, 3521, 3566, 3842, 3889
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
Crossrefs
Programs
-
Magma
[k: k in [0..4000] | IsSquare(7*k + 2)];
-
Mathematica
((Table[7*n + {3, 4}, {n, 0, 23}] // Flatten)^2 - 2)/7 (* Amiram Eldar, Aug 12 2024 *)
Formula
a(n) = (A047341(n)^2 - 2)/7. - Amiram Eldar, Aug 12 2024