|
|
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.
|
|
37
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Indices m of triangular numbers T(m) which are one-third of another triangular number: 3*T(m) = T(k); the k's are given by A001571. - Bruce Corrigan (scentman(AT)myfamily.com), Oct 31 2002
On the previous comment: for m=0 this is actually one third of the same triangular number. - Zak Seidov, Apr 07 2011
Also numbers n such that the n-th centered 24-gonal number 12*n*(n+1)+1 is a perfect square A001834(n)^2, where A001834(n) is defined by the recursion: a(0) = 1, a(1) = 5, a(n) = 4*a(n-1) - a(n-2) + 1. - Alexander Adamchuk, Apr 21 2007
Also numbers n such that n*(n+1) = Sum_{i=1..x} n+i for some x. (This does not apply to the first term.). - Gil Broussard, Dec 23 2008
Consecutive terms (a(n-1), a(n)) = (u,v) give all points on the hyperbola u^2 - u + v^2 - v - 4*u*v = 0 in quadrant I with both coordinates an integer.
Also related to the block sizes of small multi-set designs. (End)
If a(n) white balls and a(n+1) black balls are mixed in a bag, and a pair of balls is drawn without replacement, the probability that one ball of each color is drawn is exactly 1/3. These are the only integers for which the probability is 1/3. For example, if there are 20 white balls and 76 black balls, the probability of drawing one of each is (20/96)*(76/95) + (76/96)*(20/95) = 1/3. - Elliott Line, May 13 2022
|
|
REFERENCES
|
R. C. Alperin, A nonlinear recurrence and its relations to Chebyshev polynomials, Fib. Q., 58:2 (2020), 140-142.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 4*a(n-1) - a(n-2) + 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
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
|
|
EXAMPLE
|
a(2)=5 and T(5)=15 which is 1/3 of 45=T(9).
|
|
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):
|
|
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 *)
|
|
PROG
|
(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
(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
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
More terms from Lambert Klasen (Lambert.Klasen(AT)gmx.net), Jan 25 2005
|
|
STATUS
|
approved
|
|
|
|