OFFSET
1,2
COMMENTS
Row 1 of A232589
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = -a(n-1) +2*a(n-2) +4*a(n-3) +3*a(n-4) +a(n-5).
Empirical: G.f.: -2*x^2*(5+6*x+4*x^2+x^3) / ( (x^3+x^2+x-1)*(1+x)^2 ). - R. J. Mathar, Nov 23 2014
EXAMPLE
Some solutions for n=7
..0..1..2..1..0..1..2..0....0..1..2..1..2..1..0..2....0..1..2..1..2..0..1..2
..2..1..0..1..2..0..1..2....0..1..0..1..0..2..1..0....2..1..0..1..2..0..1..0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 26 2013
STATUS
approved