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.

A255716 T(n,k)=Number of length n 1..(k+2) arrays with no leading partial sum equal to a prime and no consecutive values equal.

Original entry on oeis.org

1, 2, 1, 2, 2, 1, 3, 4, 4, 1, 3, 8, 10, 6, 1, 4, 9, 26, 21, 8, 1, 5, 17, 33, 81, 47, 14, 1, 6, 24, 75, 120, 261, 102, 19, 1, 6, 32, 121, 342, 480, 936, 256, 33, 1, 7, 36, 191, 653, 1707, 2079, 3435, 754, 69, 1, 7, 48, 242, 1221, 3764, 8814, 9044, 12406, 2169, 162, 1, 8, 52, 374
Offset: 1

Views

Author

R. H. Hardin, Mar 03 2015

Keywords

Comments

Table starts
.1...2....2......3......3.......4........5.........6.........6.........7
.1...2....4......8......9......17.......24........32........36........48
.1...4...10.....26.....33......75......121.......191.......242.......374
.1...6...21.....81....120.....342......653......1221......1729......3037
.1...8...47....261....480....1707.....3764......8072.....12646.....24669
.1..14..102....936...2079....8814....22155.....53090.....91493....200228
.1..19..256...3435...9044...45735...127375....346499....667623...1659159
.1..33..754..12406..39604..229317...721134...2312940...4999570..13912571
.1..69.2169..45637.170835.1129024..4201419..15787318..37773069.116235183
.1.162.5999.165303.720348.5744720.25338485.107642427.282611786.969235198

Examples

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

Crossrefs

Row 1 is A062298(n+2)