login
A254221
Number of length 4 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal
1
0, 2, 4, 22, 24, 96, 168, 388, 490, 1024, 1168, 2138, 3000, 4554, 5084, 7872, 8570, 12358, 15532, 20538, 22120, 30338, 35972, 45928, 54068, 66830, 71348, 90658, 95374, 115162, 132074, 156726, 177542, 212556, 221796, 258292, 289706, 334554, 349466
OFFSET
1,2
COMMENTS
Row 4 of A254218
LINKS
EXAMPLE
Some solutions for n=4
..6....6....1....4....4....4....4....6....1....6....1....1....1....4....6....4
..4....2....5....6....2....6....6....4....3....4....5....5....3....2....3....2
..5....6....3....2....4....2....4....2....2....6....3....4....5....3....5....6
..1....4....1....4....6....6....6....4....4....4....6....6....1....1....4....4
CROSSREFS
Sequence in context: A151809 A151801 A284920 * A366060 A298471 A348785
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
STATUS
approved