OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
J. H. Kwak and J. Lee, Enumeration of graph coverings, surface branched coverings and related group theory, in Combinatorial and Computational Mathematics (Pohang, 2000), ed. S. Hong et al., World Scientific, Singapore 2001, pp. 97-161.
Index entries for linear recurrences with constant coefficients, signature (12,-47,72,-36).
FORMULA
a(n) = A059387(n)/2. - Vladimir Joseph Stephan Orlovsky, Apr 28 2010
a(n) = 12*a(n-1)-47*a(n-2)+72*a(n-3)-36*a(n-4). - Colin Barker, Nov 24 2014
G.f.: -x*(6*x^2-1) / ((x-1)*(2*x-1)*(3*x-1)*(6*x-1)). - Colin Barker, Nov 24 2014
MATHEMATICA
Table[(2^n-1)*(3^n-1)/2, {n, 40}] (* Vladimir Joseph Stephan Orlovsky, Apr 28 2010 *)
LinearRecurrence[{12, -47, 72, -36}, {1, 12, 91, 600}, 50] (* G. C. Greubel, Apr 30 2018 *)
PROG
(PARI) Vec(-x*(6*x^2-1)/((x-1)*(2*x-1)*(3*x-1)*(6*x-1)) + O(x^100)) \\ Colin Barker, Nov 24 2014
(PARI) for(n=1, 50, print1((2^n-1)*(3^n-1)/2, ", ")) \\ G. C. Greubel, Apr 30 2018
(Magma) [(2^n-1)*(3^n-1)/2: n in [1..50]]; // G. C. Greubel, Apr 30 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Nov 15 2009
EXTENSIONS
More terms from Vladimir Joseph Stephan Orlovsky, Apr 28 2010
More terms from Colin Barker, Nov 24 2014
Better definition from Altug Alkan, Oct 06 2015
STATUS
approved