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

A212838
Number of 0..n arrays of length 5 with 0 never adjacent to n.
1
2, 99, 634, 2309, 6306, 14407, 29114, 53769, 92674, 151211, 235962, 354829, 517154, 733839, 1017466, 1382417, 1844994, 2423539, 3138554, 4012821, 5071522, 6342359, 7855674, 9644569, 11745026, 14196027, 17039674, 20321309, 24089634, 28396831
OFFSET
1,1
COMMENTS
Row 4 of A212835.
LINKS
FORMULA
Empirical: a(n) = n^5 + 5*n^4 + 2*n^3 - 8*n^2 + n + 1.
Conjectures from Colin Barker, Jul 21 2018: (Start)
G.f.: x*(2 + 87*x + 70*x^2 - 50*x^3 + 12*x^4 - x^5) / (1 - x)^6.
a(n) = 6*a(n-1) - 15*a(n-2) + 20*a(n-3) - 15*a(n-4) + 6*a(n-5) - a(n-6) for n>6.
(End)
EXAMPLE
Some solutions for n=5:
..5....5....3....3....1....2....5....5....4....0....5....5....0....1....2....2
..4....2....3....2....4....2....1....5....1....2....3....3....3....2....2....4
..5....3....5....0....3....1....3....4....5....5....1....1....1....4....1....0
..2....1....4....2....0....2....4....3....3....3....5....3....5....1....5....4
..4....5....1....4....1....0....4....4....2....4....5....1....3....0....2....0
CROSSREFS
Cf. A212835.
Sequence in context: A223038 A324266 A258399 * A024241 A278684 A024242
KEYWORD
nonn
AUTHOR
R. H. Hardin, May 28 2012
STATUS
approved