A239294 a(n) = (15^n - (-3)^n)/18.
0, 1, 12, 189, 2808, 42201, 632772, 9492309, 142382448, 2135743281, 32036129532, 480542002029, 7208129853288, 108121948330761, 1621829223367092, 24327438355289349, 364911575314991328, 5473673629767916641, 82105104446389609452
Offset: 0
Links
- Index entries for linear recurrences with constant coefficients, signature (12,45).
Programs
-
Mathematica
Table[(15^n-(-3)^n)/18,{n,0,20}] (* or *) LinearRecurrence[{12,45},{0,1},20] (* Harvey P. Dale, Apr 29 2019 *)
-
PARI
a(n) = (15^n - (-3)^n)/18; \\ Michel Marcus, Mar 16 2014
Comments