The OEIS is supported by the many generous donors to the OEIS Foundation.



Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138982 Primes not in A138980. 1


%S 2,59,163,283,311,313,383,461,541,587,619,653,857,991,1033,1051,1069,

%T 1153,1277,1367,1511,1613,1693,1933,2129,2179,2287,2437,2473,2521,

%U 2663,2731,2957,3109,3167,3169,3251,3343,3449,3581,3631,3691,3907,3919,4049,4451,4639,4663,4751,4793,5051,5099,5227,5303,5309,5381,5387,5449,5521,5701,6043,6091,6247,6361,6451,6823,7309,7393,7411,7489,7541,7547,7589,7759,7901,8377,8501,8513,9227,9281,9311,9769

%N Primes not in A138980.

%C Except for the first term, the sequences A049561 and A138980 both consist of all odd primes except for 59, up to p=163 which is in A049561 but not in A138980.

%o (PARI) s=a=1;for(i=1,10^3,/*print1(","a);*/ while(isprime( s+a=nextprime(a+1) ),print1(a","));s+=a) /*using instead the commented-out print() command yields the sequence A138980.*/

%Y Cf. A138980, A138981.

%K nonn

%O 1,1

%A _Leroy Quet_ and _M. F. Hasler_, Apr 05 2008

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 December 3 05:56 EST 2022. Contains 358512 sequences. (Running on oeis4.)