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!)
A254222 Number of length 5 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal 1

%I #4 Jan 26 2015 21:05:01

%S 1,2,8,56,70,373,766,2056,2803,6705,8187,16545,24733,41212,48532,

%T 81412,92845,144041,189040,265403,297177,431956,529070,713448,869044,

%U 1126558,1239341,1658996,1795709,2254484,2659181,3286796,3820778,4762245,5091242

%N Number of length 5 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal

%C Row 5 of A254218

%H R. H. Hardin, <a href="/A254222/b254222.txt">Table of n, a(n) for n = 1..210</a>

%e Some solutions for n=4

%e ..6....6....4....1....6....6....1....6....1....4....4....6....4....1....6....1

%e ..2....4....6....5....4....2....5....2....3....2....2....3....5....5....2....3

%e ..4....5....5....3....6....4....6....4....4....6....3....1....6....4....6....2

%e ..2....3....6....5....5....3....3....6....2....4....5....2....3....2....2....3

%e ..4....6....4....1....1....1....1....4....6....6....4....6....6....4....6....1

%K nonn

%O 1,2

%A _R. H. Hardin_, Jan 26 2015

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 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)