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

A269468
Number of length-4 0..n arrays with no repeated value equal to the previous repeated value.
1
10, 66, 228, 580, 1230, 2310, 3976, 6408, 9810, 14410, 20460, 28236, 38038, 50190, 65040, 82960, 104346, 129618, 159220, 193620, 233310, 278806, 330648, 389400, 455650, 530010, 613116, 705628, 808230, 921630, 1046560, 1183776, 1334058
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = n^4 + 4*n^3 + 4*n^2 + n.
Conjectures from Colin Barker, Jan 23 2019: (Start)
G.f.: 2*x*(5 + 8*x - x^2) / (1 - x)^5.
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5) for n>5.
(End)
EXAMPLE
Some solutions for n=3:
..0. .3. .1. .2. .1. .1. .2. .2. .3. .3. .2. .0. .0. .2. .1. .3
..1. .3. .1. .2. .3. .0. .3. .1. .2. .3. .3. .1. .1. .2. .2. .2
..2. .0. .2. .3. .2. .0. .1. .0. .1. .2. .1. .0. .3. .0. .0. .3
..2. .1. .2. .2. .2. .3. .0. .1. .2. .1. .2. .0. .1. .1. .3. .2
CROSSREFS
Row 4 of A269467.
Sequence in context: A159838 A269679 A211056 * A024391 A074362 A080421
KEYWORD
nonn
AUTHOR
R. H. Hardin, Feb 27 2016
STATUS
approved