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.

A023192 Conjecturally, number of infinitely-recurring prime patterns on n consecutive integers.

Original entry on oeis.org

2, 3, 5, 7, 10, 13, 19, 25, 35, 45, 59, 73, 101, 129, 170, 211, 268, 325, 430, 535, 695, 855, 1065, 1275, 1658, 2041, 2572, 3103, 3781, 4459, 5802, 7145, 9068, 10991, 13473, 15955, 20357, 24759, 30608, 36457, 44281, 52105, 66169, 80233, 98525, 116817, 140798, 164779
Offset: 1

Views

Author

Keywords

Examples

			a(3) = 5: Conjecturally, there are five infinitely-recurring prime patterns of length 3. These are "ccc" (three composites in a row), "ccp", "cpc", "pcc" and "pcp". Others, like "ppc", starting at 2, only occur a finite number of times.
		

Crossrefs

Formula

a(n) = 1 + Sum_{k=1..floor((n+1)/2)} (n-2*k+2)*A023189(k). - Pontus von Brömssen, Aug 25 2025