cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A254222 Number of length 5 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.

Original entry on oeis.org

1, 2, 8, 56, 70, 373, 766, 2056, 2803, 6705, 8187, 16545, 24733, 41212, 48532, 81412, 92845, 144041, 189040, 265403, 297177, 431956, 529070, 713448, 869044, 1126558, 1239341, 1658996, 1795709, 2254484, 2659181, 3286796, 3820778, 4762245, 5091242
Offset: 1

Views

Author

R. H. Hardin, Jan 26 2015

Keywords

Comments

Row 5 of A254218

Examples

			Some solutions for n=4
..6....6....4....1....6....6....1....6....1....4....4....6....4....1....6....1
..2....4....6....5....4....2....5....2....3....2....2....3....5....5....2....3
..4....5....5....3....6....4....6....4....4....6....3....1....6....4....6....2
..2....3....6....5....5....3....3....6....2....4....5....2....3....2....2....3
..4....6....4....1....1....1....1....4....6....6....4....6....6....4....6....1