OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000 (terms 1..210 from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (2,0,2).
FORMULA
Empirical: a(n) = 2*a(n-1) + 2*a(n-3).
Empirical g.f.: x*(3 + x + 2*x^2) / (1 - 2*x - 2*x^3). - Colin Barker, Feb 24 2018
The above empirical formulas are correct by the matrix transfer method. - Andrew Howroyd, Jan 22 2026
From Bruce Nye, Jan 22 2026: (Start)
a(n) = A077999(n+2)/2.
Limit_{n->oo} a(n)/a(n-1) = A357101. (End)
EXAMPLE
Some solutions for n=5:
..0....3....2....3....0....0....2....2....2....0....2....3....3....0....0....3
..2....2....0....2....0....0....0....2....0....3....0....2....2....2....2....3
..0....3....0....3....0....0....0....3....0....2....2....0....0....2....0....2
..0....0....0....0....0....3....2....3....2....3....0....3....0....0....2....3
..0....3....0....2....3....2....3....2....2....3....0....0....3....0....2....2
MATHEMATICA
LinearRecurrence[{2, 0, 2}, {3, 7, 16}, 35] (* Paolo Xausa, Jan 28 2026 *)
PROG
(PARI) Vec(x*(3 + x + 2*x^2) / (1 - 2*x - 2*x^3) + O(x^30)) \\ Bruce Nye, Jan 22 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Mar 09 2014
STATUS
approved
