A255719 Number of length 4 1..(n+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.
1, 6, 21, 81, 120, 342, 653, 1221, 1729, 3037, 3884, 6136, 8650, 12056, 14580, 20505, 24083, 32191, 40684, 51184, 58455, 74807, 90133, 110175, 130476, 155925, 173529, 209720, 230413, 269673, 310187, 358492, 408861, 473591, 512204, 582744, 654517
Offset: 1
Keywords
Examples
Some solutions for n=4 ..6....6....4....6....1....4....6....4....4....6....1....6....6....6....4....6 ..3....2....2....4....5....6....2....2....5....4....3....2....2....2....2....2 ..5....1....3....5....6....4....4....6....3....6....2....6....6....1....4....4 ..2....5....1....1....2....6....6....2....6....4....3....1....4....6....5....2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..210
Crossrefs
Cf. A255716
Comments