OFFSET
1,2
COMMENTS
Every 0 is next to 0 2's, every 1 is next to 1 4's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 1's.
Column 4 of A197373.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 2*a(n-1) +10*a(n-2) +18*a(n-3) -7*a(n-4) -33*a(n-5) -58*a(n-6) +13*a(n-7) +22*a(n-8) -31*a(n-9) +18*a(n-10) -3*a(n-11).
Empirial: G.f.: -x*(-1 -5*x -21*x^2 +17*x^3 -8*x^4 +113*x^5 -57*x^6 +12*x^7 -20*x^8 -5*x^9 +5*x^10)/(1-2*x -10*x^2 -18*x^3 +7*x^4 +33*x^5 +58*x^6 -13*x^7 -22*x^8 +31*x^9 -18*x^10 +3*x^11) . - R. J. Mathar, Aug 27 2024
EXAMPLE
Some solutions containing all values 0 to 4 for n=5
..0..0..1..2....0..0..0..0....0..0..1..2....2..1..0..0....0..0..1..2
..0..1..4..1....0..0..0..0....0..1..4..1....1..4..1..0....0..1..4..1
..3..0..1..0....0..1..0..3....3..0..1..0....0..1..0..0....3..0..1..0
..0..0..3..0....1..4..1..0....0..0..3..0....3..0..0..3....0..0..0..3
..0..3..0..0....2..1..0..0....0..0..0..0....0..0..3..0....0..0..0..0
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin Oct 14 2011
STATUS
approved