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.

Showing 1-1 of 1 results.

A366976 Numbers that cannot be written as sum of two or more consecutive nonprimes.

Original entry on oeis.org

1, 2, 3, 4, 6, 7, 8, 9, 12, 13, 15, 16, 20, 21, 24, 25, 30, 32, 35, 40, 42, 44, 47, 48, 52, 56, 61, 66, 70, 72, 73, 80, 88, 93, 96, 98, 100, 107, 110, 119, 120, 140, 141, 144, 167, 174, 179, 186, 190, 196, 204, 205, 234, 236, 252, 253, 260, 275, 290, 292, 299, 303, 310, 312, 313
Offset: 1

Views

Author

Tamas Sandor Nagy, Dec 16 2023

Keywords

Comments

The complement sequence of sums of two or more consecutive nonprime numbers.

Examples

			9 is a term because trying the sums of candidate consecutive nonprimes 1 + 4 = 5 != 9, 1 + 4 + 6 = 11 != 9, 4 + 6 = 10 != 9. All these sums miss the integer 9.
On the other hand, 23 is not a term because 23 = 6 + 8 + 9, which is the sum of three consecutive nonprime numbers.
		

Crossrefs

Primes in the sequence: A257393.
Showing 1-1 of 1 results.