OFFSET
0,2
COMMENTS
In Hurwitz 1902 see page 17 table for n=4 where N is the number of n-sheeted Riemann surfaces with w branch points.
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
A. Hurwitz, Über die Anzahl der Riemann'schen Flächen mit gegebenen Verzweigungspunkten, Math. Ann. 55 (1902) 53-66.
Index entries for linear recurrences with constant coefficients, signature (12,-47,72,-36).
FORMULA
a(n) = 12*a(n-1) - 47*a(n-2) + 72*a(n-3) - 36*a(n-4) for n > 4. - Colin Barker, Jan 09 2015
G.f.: x*(18*x^2-36*x+13) / ((x-1)*(2*x-1)*(3*x-1)*(6*x-1)). - Colin Barker, Jan 09 2015
MATHEMATICA
Table[(2^n -1)*(3^(n+2) -1)/2, {n, 0, 30}] (* G. C. Greubel, Aug 03 2018 *)
LinearRecurrence[{12, -47, 72, -36}, {0, 13, 120, 847}, 30] (* Harvey P. Dale, Feb 17 2023 *)
PROG
(PARI) {a(n) = if( n<0, 0, (2^n - 1) * (3^(n+2) - 1) / 2)};
(Magma) [(2^n -1)*(3^(n+2) -1)/2: n in [0..30]]; // G. C. Greubel, Aug 03 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michael Somos, Jan 02 2015
STATUS
approved