Primes
The set of prime numbers, a constant compute-engine declares; it answers membership, not position.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim entry
04427bWolfram LanguagePrimes✓Primes: set<integer>a constant, as compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
set<integer> | compute-engine | always |
Details
- Membership goes through Element: is true, is false.
- A set has no order, so and don't apply. PrimeNumbers is the same primes as an indexed collection, and NthPrime is the -th one.
Examples
About
| Examples | 2 |
|---|---|
| Checked against | Wolfram Language 2 agree |
| Crosswalk | Fungrim entryWolfram Language |
See also: PrimeNumbers, Element, NthPrime, NextPrime