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!)
A254212 Number of length n 1..(2+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal. 1
2, 0, 1, 2, 2, 2, 2, 2, 5, 4, 5, 8, 31, 64, 83, 66, 60, 104, 158, 240, 846, 2990, 6296, 8440, 10213, 14034, 16843, 15538, 20339, 57766, 202098, 751354, 2575608, 6730882, 12332861, 15945860, 15602393, 13432584, 12250132, 12687426, 23661609, 144529800 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..300 (first 51 terms from R. H. Hardin)
EXAMPLE
All solutions for n=4:
..4....1
..2....3
..3....2
..1....4
CROSSREFS
Column k=2 of A254218.
Sequence in context: A260411 A199331 A243917 * A033773 A029275 A058739
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 03:03 EDT 2024. Contains 371917 sequences. (Running on oeis4.)