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.

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.

This page as a plain text file.
%I A254222 #6 Jul 23 2025 14:33:36
%S A254222 1,2,8,56,70,373,766,2056,2803,6705,8187,16545,24733,41212,48532,
%T A254222 81412,92845,144041,189040,265403,297177,431956,529070,713448,869044,
%U A254222 1126558,1239341,1658996,1795709,2254484,2659181,3286796,3820778,4762245,5091242
%N 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.
%C A254222 Row 5 of A254218
%H A254222 R. H. Hardin, <a href="/A254222/b254222.txt">Table of n, a(n) for n = 1..210</a>
%e A254222 Some solutions for n=4
%e A254222 ..6....6....4....1....6....6....1....6....1....4....4....6....4....1....6....1
%e A254222 ..2....4....6....5....4....2....5....2....3....2....2....3....5....5....2....3
%e A254222 ..4....5....5....3....6....4....6....4....4....6....3....1....6....4....6....2
%e A254222 ..2....3....6....5....5....3....3....6....2....4....5....2....3....2....2....3
%e A254222 ..4....6....4....1....1....1....1....4....6....6....4....6....6....4....6....1
%K A254222 nonn
%O A254222 1,2
%A A254222 _R. H. Hardin_, Jan 26 2015