login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A020724
G.f.: 1/((1-6*x)*(1-9*x)*(1-12*x)).
0
1, 27, 495, 7695, 109431, 1474767, 19198215, 244167615, 3055792311, 37811613807, 464078786535, 5662363023135, 68791291322391, 833094971965647, 10065613312624455, 121404092777808255, 1462402531680439671
OFFSET
0,2
FORMULA
a(n) = (12^(n+2) - 2*9^(n+2) + 6^(n+2))/18. - Yahia Kahloune, Jun 30 2013
a(n) = 27*a(n-1) - 234*a(n-2) + 648*a(n-3). - Jinyuan Wang, Mar 10 2020
PROG
(PARI) Vec(1/((1-6*x)*(1-9*x)*(1-12*x)) + O(x^30)) \\ Jinyuan Wang, Mar 10 2020
CROSSREFS
Cf. A017933.
Sequence in context: A020726 A020969 A025956 * A021994 A020568 A021734
KEYWORD
nonn,easy
STATUS
approved