A129445 Numbers k > 0 such that k^2 is a centered triangular number.
1, 2, 8, 19, 79, 188, 782, 1861, 7741, 18422, 76628, 182359, 758539, 1805168, 7508762, 17869321, 74329081, 176888042, 735782048, 1751011099, 7283491399, 17333222948, 72099131942, 171581218381, 713707828021, 1698478960862, 7064979148268, 16813208390239
Offset: 1
Links
- Alexander Adamchuk, Table of n, a(n) for n = 1..100
- Tom Beldon and Tony Gardiner, Triangular Numbers and Perfect Squares, The Mathematical Gazette, Vol. 86, No. 507, (2002), pp. 423-431. - _Ant King_, Dec 07 2010
- Index entries for linear recurrences with constant coefficients, signature (0, 10, 0, -1).
Crossrefs
Programs
-
Mathematica
Do[f = 3n(n-1)/2 + 1; If[IntegerQ[Sqrt[f]], Print[Sqrt[f]]], {n, 150000}] LinearRecurrence[{0, 10, 0, -1}, {1, 2, 8, 19}, 30] (* T. D. Noe, Jun 13 2013 *)
Formula
G.f.: x*(1-x)*(1+3*x+x^2)/(1-10*x^2+x^4). - Colin Barker, Apr 11 2012
a(n) = 10*a(n-2) - a(n-4), a(1..4) = 1, 2, 8, 19. - Zak Seidov, Jun 11 2013
Extensions
More terms from Alexander Adamchuk, Apr 26 2007
Comments