login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A254221 Number of length 4 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal 1
0, 2, 4, 22, 24, 96, 168, 388, 490, 1024, 1168, 2138, 3000, 4554, 5084, 7872, 8570, 12358, 15532, 20538, 22120, 30338, 35972, 45928, 54068, 66830, 71348, 90658, 95374, 115162, 132074, 156726, 177542, 212556, 221796, 258292, 289706, 334554, 349466 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Row 4 of A254218

LINKS

R. H. Hardin, Table of n, a(n) for n = 1..210

EXAMPLE

Some solutions for n=4

..6....6....1....4....4....4....4....6....1....6....1....1....1....4....6....4

..4....2....5....6....2....6....6....4....3....4....5....5....3....2....3....2

..5....6....3....2....4....2....4....2....2....6....3....4....5....3....5....6

..1....4....1....4....6....6....6....4....4....4....6....6....1....1....4....4

CROSSREFS

Sequence in context: A151809 A151801 A284920 * A298471 A067654 A271944

Adjacent sequences:  A254218 A254219 A254220 * A254222 A254223 A254224

KEYWORD

nonn

AUTHOR

R. H. Hardin, Jan 26 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 13 10:36 EDT 2021. Contains 344988 sequences. (Running on oeis4.)