login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138982
Primes not in A138980.
1
2, 59, 163, 283, 311, 313, 383, 461, 541, 587, 619, 653, 857, 991, 1033, 1051, 1069, 1153, 1277, 1367, 1511, 1613, 1693, 1933, 2129, 2179, 2287, 2437, 2473, 2521, 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
OFFSET
1,1
COMMENTS
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.
PROG
(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.*/
CROSSREFS
Sequence in context: A329551 A153925 A100273 * A142666 A378702 A349501
KEYWORD
nonn
AUTHOR
Leroy Quet and M. F. Hasler, Apr 05 2008
STATUS
approved