A255712 Number of length n 1..(4+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
3, 8, 26, 81, 261, 936, 3435, 12406, 45637, 165303, 579197, 2056418, 7724487, 30188921, 117283664, 443965914, 1645885655, 6011641972, 21768376301, 79175516820, 293501032240, 1120198277690, 4414668160947, 17781778665225
Offset: 1
Keywords
Examples
Some solutions for n=4 ..4....4....1....6....4....6....4....4....6....1....6....6....4....1....6....6 ..6....2....3....3....5....2....2....6....4....5....2....3....5....5....2....3 ..4....6....6....6....1....1....6....5....2....3....1....5....1....2....6....5 ..1....3....5....5....2....6....2....6....6....5....5....4....4....1....1....1
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments