A273367 Numbers k such that 10*k+6 is a perfect square.
1, 3, 19, 25, 57, 67, 115, 129, 193, 211, 291, 313, 409, 435, 547, 577, 705, 739, 883, 921, 1081, 1123, 1299, 1345, 1537, 1587, 1795, 1849, 2073, 2131, 2371, 2433, 2689, 2755, 3027, 3097, 3385, 3459, 3763, 3841, 4161, 4243, 4579
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (1, 2, -2, -1, 1).
Crossrefs
Programs
-
Mathematica
LinearRecurrence[{1, 2, -2, -1, 1}, {1, 3, 19, 25, 57}, 50] (* G. C. Greubel, May 20 2016 *)
-
PARI
is(n)=issquare(10*n+6) \\ Charles R Greathouse IV, Jan 31 2017
Formula
a(2n) = 10*n^2 - 8*n + 1.
a(2n+1) = 10*n^2 + 8*n + 1.
G.f.: (x^4+2x^3+14x^2+2x+1)/((1-x)^3*(1+x)^2).
a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5). - G. C. Greubel, May 20 2016