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!)
A366976 Numbers that cannot be written as sum of two or more consecutive nonprimes. 1
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The complement sequence of sums of two or more consecutive nonprime numbers.
LINKS
EXAMPLE
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.
Sequence in context: A032852 A031990 A023747 * A031998 A023759 A004742
KEYWORD
nonn
AUTHOR
Tamas Sandor Nagy, Dec 16 2023
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 July 17 17:04 EDT 2024. Contains 374377 sequences. (Running on oeis4.)