OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (45,-324).
FORMULA
a(n)=9^n/18*(4^n-2)
a(n)=9^(n-1)/2*(2^(2n)-2) - Harvey P. Dale, Mar 09 2018
G.f.: x*(1+18*x) / ( (36*x-1)*(9*x-1) ). - R. J. Mathar, Nov 15 2019
MATHEMATICA
LinearRecurrence[{45, -324}, {1, 63}, 20] (* Harvey P. Dale, Mar 09 2018 *)
PROG
(PARI) B(n, x)=sum(i=0, n, binomial(n, i)*bernfrac(i)*x^(n-i)); a(n)=(-36^n/18)*B(n, 1/6)/B(n, 1/3)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Jun 19 2004
EXTENSIONS
Incorrect recurrence formula deleted by Harvey P. Dale, Mar 09 2018
STATUS
approved