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

%I #34 Dec 18 2023 18:35:35

%S 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,

%T 56,61,66,70,72,73,80,88,93,96,98,100,107,110,119,120,140,141,144,167,

%U 174,179,186,190,196,204,205,234,236,252,253,260,275,290,292,299,303,310,312,313

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

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

%e 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.

%e On the other hand, 23 is not a term because 23 = 6 + 8 + 9, which is the sum of three consecutive nonprime numbers.

%Y Cf. A051349, A018252, A367021.

%Y Primes in the sequence: A257393.

%K nonn

%O 1,2

%A _Tamas Sandor Nagy_, Dec 16 2023

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 August 17 00:41 EDT 2024. Contains 375198 sequences. (Running on oeis4.)