editing
approved
editing
approved
LinearRecurrence[{7, 49, 49}, {3, 7, 147}, 30] (* Harvey P. Dale, Jan 01 2023 *)
approved
editing
editing
approved
a(n) = (-sqrt(7)*tan(Pi/7))^n + (-sqrt(7)*tan(2*Pi/7))^n + (-sqrt(7)*tan(4*Pi/7))^n for n >= 0.
a(0) = 3, a(1) = 7, a(2) = 147; thereafter a(n) = 7*a(n-1) + 49*a(n-2) + 49*a(n-3).
a(n) = (-sqrt(7)*tan(Pi/7))^n + (-sqrt(7)*tan(2*Pi/7))^n + (-sqrt(7)*tan(4*Pi/7))^n.
a(0)=3, a(1)=7, a(2)=147; thereafter a(n) = 7*a(n-1) + 49*a(n-2) + 49*a(n-3).
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
Colin Barker, <a href="/A275195/b275195.txt">Table of n, a(n) for n = 0..900</a>
(PARI) Vec((1-7*x)*(3+7*x)/(1-7*x-49*x^2-49*x^3) + O(x^30)) \\ Colin Barker, Jul 23 2016
approved
editing
editing
approved