login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A250554
Number of length n+2 0..1 arrays with the sum of second differences multiplied by some arrangement of +-1 equal to zero.
1
2, 8, 14, 32, 62, 128, 254, 512, 1022, 2048, 4094, 8192, 16382, 32768, 65534, 131072, 262142, 524288, 1048574, 2097152, 4194302, 8388608, 16777214, 33554432, 67108862, 134217728, 268435454, 536870912, 1073741822, 2147483648, 4294967294
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 2*a(n-1) +a(n-2) -2*a(n-3).
Empirical: a(n) = 2^(n+1) for even n, 2^(n+1)-2 for odd n.
Empirical g.f.: 2*x*(1 + 2*x - 2*x^2) / ((1 - x)*(1 + x)*(1 - 2*x)). - Colin Barker, Nov 14 2018
EXAMPLE
Some solutions for n=6:
..1....1....0....0....0....0....1....0....1....1....0....1....0....1....0....0
..0....1....1....1....0....0....1....1....0....0....1....1....0....1....1....0
..0....1....1....0....1....1....0....1....1....0....1....1....1....0....0....1
..1....1....0....0....0....0....1....1....0....0....0....1....1....0....0....0
..1....0....1....0....0....1....1....1....0....1....0....0....1....0....1....1
..1....1....0....1....1....0....1....1....1....1....0....0....1....1....0....1
..0....1....0....0....1....0....0....1....0....1....0....0....0....0....0....1
..1....1....1....1....1....0....0....0....1....0....1....0....0....0....1....1
CROSSREFS
Column 1 of A250561.
Sequence in context: A160157 A054598 A031160 * A046959 A086177 A299337
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 25 2014
STATUS
approved