OFFSET
1,1
COMMENTS
Column 1 of A263558.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 4*a(n-1) + 2*a(n-2) - 8*a(n-3).
Empirical: G.f.: -2*x*(-2+3*x+4*x^2) / ( (4*x-1)*(2*x^2-1) ). - R. J. Mathar, Nov 03 2015
Empirical: a(n) = (4^(n+1) + 3*2^((n-3)/2)*(4 + sqrt(2) + (-1)^n*(sqrt(2) - 4)))/7. - Stefano Spezia, Dec 26 2021
EXAMPLE
Some solutions for n=4:
4 1 0 0 4 1 1 2 4 1 4 1 2 4 1 2 0 0 2 4
2 4 4 1 1 2 1 2 4 1 2 4 4 1 0 0 4 1 0 0
0 0 1 2 2 4 0 0 4 1 2 4 4 1 2 4 2 4 4 1
0 0 1 2 4 1 4 1 0 0 0 0 2 4 0 0 4 1 0 0
1 2 2 4 0 0 0 0 1 2 0 0 2 4 4 1 4 1 1 2
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 21 2015
STATUS
approved