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.

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

Original entry on oeis.org

2, 0, 1, 2, 2, 2, 2, 2, 5, 4, 5, 8, 31, 64, 83, 66, 60, 104, 158, 240, 846, 2990, 6296, 8440, 10213, 14034, 16843, 15538, 20339, 57766, 202098, 751354, 2575608, 6730882, 12332861, 15945860, 15602393, 13432584, 12250132, 12687426, 23661609, 144529800
Offset: 1

Views

Author

R. H. Hardin, Jan 26 2015

Keywords

Examples

			All solutions for n=4:
..4....1
..2....3
..3....2
..1....4
		

Crossrefs

Column k=2 of A254218.