STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
<a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (2, -2, 2, -1).
reviewed
editing
proposed
reviewed
editing
proposed
a(n) = (1/2)*(10*n - (1+2*i)*(-i)^n - (1-2*i)*i^n), where i is the imaginary unity= sqrt(-1).
approved
editing
(MAGMAMagma) I:=[3, 11, 17, 19]; [n le 4 select I[n] else 2*Self(n-1)-2*Self(n-2)+2*Self(n-3)-Self(n-4): n in [1..60]]; // Vincenzo Librandi, Dec 06 2018
proposed
approved
editing
proposed