OFFSET
1,2
COMMENTS
For given k and n positive integers, let T(k,n) represent the number of n-tuples of positive integers, whose minimum is zero and maximum is k. In this notation, the sequence corresponds to a(n) = T(5,n).
LINKS
O. Bagdasar, On Some Functions Involving the lcm and gcd of Integer Tuples, Scientific publications of the state university of Novi Pazar, Ser. A: Appl. Maths. Inform. and Mech., Vol. 6, 2 (2014), 91--100.
Index entries for linear recurrences with constant coefficients, signature (15,-74,120).
FORMULA
a(n) = 6^n-2*5^n+4^n.
a(n) = 15*a(n-1)-74*a(n-2)+120*a(n-3) for n>3. G.f.: -2*x^2 / ((4*x-1)*(5*x-1)*(6*x-1)). - Colin Barker, Sep 18 2014
a(n) = 2*A016103(n). - Colin Barker, Sep 18 2014
EXAMPLE
For n=2 the a(2)=2 solutions are (0,5) and (5,0).
MATHEMATICA
LinearRecurrence[{15, -74, 120}, {0, 2, 30}, 30] (* Harvey P. Dale, Nov 20 2020 *)
PROG
(PARI) concat(0, Vec(-2*x^2/((4*x-1)*(5*x-1)*(6*x-1)) + O(x^100))) \\ Colin Barker, Sep 18 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ovidiu Bagdasar, Sep 17 2014
STATUS
approved