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

A171581
The natural numbers without primes > 3.
3
1, 2, 3, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 46, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 75, 76, 77, 78, 80, 81, 82, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94
OFFSET
1,2
COMMENTS
1, 2, 3 and the composites A002808.
MATHEMATICA
With[{nn=100}, Join[{1, 2, 3}, Complement[Range[4, nn], Prime[Range[ PrimePi[ nn]]]]]] (* Harvey P. Dale, Nov 18 2013 *)
PROG
(PARI) is(n)=if(n<5, n>0, !isprime(n)) \\ Charles R Greathouse IV, Nov 13 2015
CROSSREFS
Sequence in context: A298866 A108408 A173905 * A063450 A353684 A377236
KEYWORD
nonn,easy,less
AUTHOR
Juri-Stepan Gerasimov, Dec 12 2009, Dec 15 2009
STATUS
approved