The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A254215 Number of length n 1..(5+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal. 0
3, 2, 12, 24, 70, 192, 633, 2484, 10554, 35054, 102520, 337948, 1366804, 6000028, 24951622, 94266262, 337342046, 1263530794, 5269371063, 23209051416, 98571237345, 383041820280, 1353435250769, 4542413798878, 16490190511798, 76615460665948, 434914649543770 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Some solutions for n=4:
..6....6....6....4....4....1....4....1....4....4....4....4....1....6....1....6
..2....2....4....6....6....5....5....5....2....2....6....2....3....4....5....4
..6....7....2....4....2....3....3....6....4....6....2....3....2....6....4....2
..4....1....4....6....4....1....6....4....6....4....6....1....4....4....6....6
CROSSREFS
Column k=5 of A254218.
Sequence in context: A361865 A356857 A086551 * A007214 A189736 A025232
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 26 2015
EXTENSIONS
a(23)-a(27) from Alois P. Heinz, Jan 27 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 3 10:43 EDT 2024. Contains 373060 sequences. (Running on oeis4.)