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”).

A171469
Nonnegative nonprimes which are neither the sum nor the product of two distinct primes.
1
0, 1, 4, 27, 117, 121, 125, 135, 147, 171, 189, 207, 245, 255, 261, 275, 289, 297, 325, 343, 345, 357, 363, 387, 405, 425, 429, 455, 475, 477, 483, 495, 507, 513, 529, 531, 539, 555, 561, 567, 575, 585, 605, 625, 627, 637, 639, 651, 657, 665, 705, 715, 725, 747, 765, 777
OFFSET
1,3
MATHEMATICA
prs=Prime[Range[150]];
prodprs=Times@@@Subsets[prs, {2}];
sumprs=Plus@@@Subsets[prs, {2}];
Complement[Range[0, 800], prs, prodprs, sumprs] (* Harvey P. Dale, Jan 23 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition clarified, sequence corrected (51 removed, 289 inserted) and extended by R. J. Mathar, Apr 24 2010
STATUS
approved