A097579 Triangular numbers k such that 2*k-1 is also a triangular number.
1, 28, 946, 32131, 1091503, 37078966, 1259593336, 42789094453, 1453569618061, 49378577919616, 1677418079648878, 56982836130142231, 1935739010345186971, 65758143515606214778, 2233841140520266115476, 75884840634173441711401
Offset: 1
Links
- Index entries for linear recurrences with constant coefficients, signature (35, -35, 1).
Programs
-
Mathematica
CoefficientList[ Series[x*(1 - 7*x + x^2)/((1 - x)*(1 - 34*x + x^2)), {x, 0, 16}], x] (* Robert G. Wilson v, Sep 01 2004 *) LinearRecurrence[{35,-35,1},{1,28,946},20] (* Harvey P. Dale, Aug 03 2025 *)
Formula
G.f.: x*(1-7*x+x^2)/((1-x)*(1-34*x+x^2)).
Extensions
More terms from Robert G. Wilson v, Sep 01 2004