OFFSET
1,1
COMMENTS
Column 2 of A262849.
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..210
FORMULA
Empirical: a(n) = 4*a(n-1) -4*a(n-2) +20*a(n-3) -68*a(n-4) +68*a(n-5) -162*a(n-6) +444*a(n-7) -444*a(n-8) +644*a(n-9) -1244*a(n-10) +1244*a(n-11) -1277*a(n-12) +1376*a(n-13) -1376*a(n-14) +1032*a(n-15).
EXAMPLE
Some solutions for n=4
..1..1..1..0....1..1..1..0....1..1..1..0....0..0..0..0....0..0..0..0
..0..1..1..1....0..0..0..0....1..1..1..0....0..0..0..0....0..0..0..0
..0..1..1..1....0..1..1..1....0..0..0..0....0..0..0..0....0..0..0..0
..1..1..1..0....1..1..1..0....0..1..1..1....1..1..1..0....1..1..1..0
..0..0..0..0....1..1..1..0....0..0..0..0....0..1..1..1....0..0..0..0
..0..1..1..1....0..0..0..0....0..0..0..0....0..0..0..0....0..1..1..1
MATHEMATICA
v = Select[Tuples[{0, 1}, 4], Mod[FromDigits[#, 2], 7] == 0 &];
a[n_] := a[n] = Length[Select[Tuples[v, n + 2], !AnyTrue[Transpose[#], Mod[FromDigits[#, 2], 7] == 0 &] &]];
Table[a[n], {n, 1, 10}] (* Robert P. P. McKone, Jun 09 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Oct 03 2015
STATUS
approved