OFFSET
0,3
LINKS
Paul K. Stockmeyer, Table of n, a(n) for n = 0..1000
Andreas M. Hinz and Paul K. Stockmeyer, Precious Metal Sequences and Sierpinski-Type Graphs, J. Integer Seq., Vol 25 (2022), Article 22.4.8.
Index entries for linear recurrences with constant coefficients, signature (3,-2,2,-1,-1).
FORMULA
a(n) = (1/16)((4-s)*(1+s)^n + (4+s)*(1-s)^n - 8*sin(n*Pi/2) - 12*cos(n*Pi/2) + 4) where s = sqrt(2).
G.f.: x^2*(2 - 3*x)/((1 - x)*(1 + x^2)*(1 - 2*x - x^2)). - Stefano Spezia, May 04 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul K. Stockmeyer, May 04 2022
STATUS
approved