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”).

A199899
Number of -n..n arrays x(0..3) of 4 elements with zero sum, and adjacent elements not both strictly positive and not both strictly negative.
3
15, 49, 111, 209, 351, 545, 799, 1121, 1519, 2001, 2575, 3249, 4031, 4929, 5951, 7105, 8399, 9841, 11439, 13201, 15135, 17249, 19551, 22049, 24751, 27665, 30799, 34161, 37759, 41601, 45695, 50049, 54671, 59569, 64751, 70225, 75999, 82081, 88479, 95201
OFFSET
1,1
COMMENTS
Row 4 of A199898.
LINKS
FORMULA
Empirical: a(n) = (4/3)*n^3 + 6*n^2 + (20/3)*n + 1.
Conjectures from Colin Barker, Feb 23 2018: (Start)
G.f.: x*(3 - x)*(5 - 2*x + x^2) / (1 - x)^4.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) for n>4.
(End)
EXAMPLE
Some solutions for n=6:
..3....3....4...-2....5...-2....5...-3....4...-3....0....2....0....6....3....1
..0...-6...-4....6...-4....1...-5....2...-5....6....2...-2....5...-1...-5...-5
..2....3....1...-6....3...-4....3...-1....5....0....0....5...-5....0....6....0
.-5....0...-1....2...-4....5...-3....2...-4...-3...-2...-5....0...-5...-4....4
CROSSREFS
Cf. A199898.
Sequence in context: A228219 A272039 A241577 * A020257 A298511 A349855
KEYWORD
nonn
AUTHOR
R. H. Hardin, Nov 11 2011
STATUS
approved