Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.5K Views
|
3 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Subtract a list from a list?

Posted 5 years ago

When you want to display a number that is not a prime number

Table[a, {a, 1, 100}]

Please tell me how to subtract the lower list from the upper list

Select[Range[100], PrimeQ]
POSTED BY: Keito Tanemura
3 Replies

I think the function Complement will be of use to you.

POSTED BY: Sjoerd Smit

Thank you.OK.I'll learn.

POSTED BY: Keito Tanemura
Posted 5 years ago
POSTED BY: Bill Nelson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard