A061278 a(n) = 5*a(n-1) - 5*a(n-2) + a(n-3) with a(1) = 1 and a(k) = 0 if k <= 0.
0, 1, 5, 20, 76, 285, 1065, 3976, 14840, 55385, 206701, 771420, 2878980, 10744501, 40099025, 149651600, 558507376, 2084377905, 7779004245, 29031639076, 108347552060, 404358569165, 1509086724601, 5631988329240, 21018866592360, 78443478040201, 292755045568445
Offset: 0
Examples
a(2)=5 and T(5)=15 which is 1/3 of 45=T(9).
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- R. C. Alperin, A nonlinear recurrence and its relations to Chebyshev polynomials, Fib. Q., Vol. 58, No. 2 (2020), 140-142.
- Niccolò Castronuovo, On the number of fixed points of the map gamma, arXiv:2102.02739 [math.NT], 2021. Mentions this sequence.
- Brian Lawrence and Will Sawin, The Shafarevich conjecture for hypersurfaces in abelian varieties, arXiv:2004.09046 [math.NT], 2020.
- Ioana-Claudia Lazăr, Lucas sequences in t-uniform simplicial complexes, arXiv:1904.06555 [math.GR], 2019.
- L. A. Medina and A. Straub, On multiple and infinite log-concavity, 2013.
- S. Morier-Genoud, V. Ovsienko and S. Tabachnikov, 2-frieze patterns and the cluster structure of the space of polygons, Annales de l'institut Fourier, 62 no. 3 (2012), 937-987. - From _N. J. A. Sloane_, Dec 26 2012
- Robert Phillips, A triangular number result, 2009.
- Vladimir Pletser, Recurrent Relations for Multiple of Triangular Numbers being Triangular Numbers, arXiv:2101.00998 [math.NT], 2021.
- Vladimir Pletser, Closed Form Equations for Triangular Numbers Multiple of Other Triangular Numbers, arXiv:2102.12392 [math.GM], 2021.
- Vladimir Pletser, Triangular Numbers Multiple of Triangular Numbers and Solutions of Pell Equations, arXiv:2102.13494 [math.NT], 2021.
- Vladimir Pletser, Congruence Properties of Indices of Triangular Numbers Multiple of Other Triangular Numbers, arXiv:2103.03019 [math.GM], 2021.
- Vladimir Pletser, Searching for multiple of triangular numbers being triangular numbers, 2021.
- Vladimir Pletser, Using Pell equation solutions to find all triangular numbers multiple of other triangular numbers, 2022.
- Eric Weisstein, Centered Polygonal Number.
- Index entries for linear recurrences with constant coefficients, signature (5,-5,1).
Crossrefs
Programs
-
Magma
I:=[0, 1]; [n le 2 select I[n] else 4*Self(n-1) - Self(n-2) + 1: n in [1..30]]; // Vincenzo Librandi, Dec 23 2012
-
Maple
f:= gfun:-rectoproc({a(n) = 5*a(n-1) - 5*a(n-2) + a(n-3),a(1)=1,a(0)=0,a(-1)=0},a(n),remember): map(f, [$0..50]); # Robert Israel, Jun 05 2015
-
Mathematica
CoefficientList[Series[x/(1 - 5*x + 5*x^2 - x^3), {x, 0, nn}], x] (* T. D. Noe, Jun 04 2012 *) LinearRecurrence[{5,-5,1},{0,1,5},30] (* Harvey P. Dale, Dec 23 2012 *)
-
PARI
M = [1, 1, 0; 1, 3, 1; 0, 1, 1]; for(i=1, 30, print1(([1, 0, 0]*M^i)[3], ",")) \\ Lambert Klasen (Lambert.Klasen(AT)gmx.net), Jan 25 2005
Formula
a(n) = 4*a(n-1) - a(n-2) + 1.
a(n) = A001075(n) - a(n-1) - 1.
From Bruce Corrigan (scentman(AT)myfamily.com), Oct 31 2002: (Start)
a(n+2) = 4*a(n+1) - a(n) + 1 for a(0)=0, a(1)=1.
G.f.: x/((1 - x)*(1 - 4*x + x^2)).
a(n) = (1/12)*((3 - sqrt(3))*(2 - sqrt(3))^n + (3 + sqrt(3))*(2 + sqrt(3))^n-6). (End)
a(n) = (1/12)*(A003500(n) + A003500(n+1)-6). - Mario Catalani (mario.catalani(AT)unito.it), Apr 11 2003
a(n+1) = Sum_{k=0..n} U(k, 2) = Sum_{k=0..n} S(k, 4), where U(n,x) and S(n,x) are Chebyshev polynomials. - Paul Barry, Nov 14 2003
G.f.: x/(1 - 5*x + 5*x^2 - x^3).
a(n)*a(n-2) = a(n-1)*(a(n-1) - 1) for n>1. - Bruno Berselli, Nov 29 2016
From John P. McSorley, May 25 2020: (Start)
a(n)^2 - a(n) + a(n-1)^2 - a(n-1) - 4*a(n)*a(n-1) = 0.
a(n) = A001834(n-1) + a(n-2). (End)
(T(a(n)-1) + T(a(n+1)-1))/T(a(n) + a(n+1) - 1) = 2/3 where T(i) is the i-th triangular number. - Robert K. Moniot, Oct 11 2020
E.g.f.: exp(x)*(exp(x)*(3*cosh(sqrt(3)*x) + sqrt(3)*sinh(sqrt(3)*x)) - 3)/6. - Stefano Spezia, Feb 05 2021
a(n) = A101265(n) - 1. - Jon E. Schoenfield, Jan 01 2022
Extensions
More terms from Lambert Klasen (Lambert.Klasen(AT)gmx.net), Jan 25 2005
Comments