primes less than n and relatively prime to n
zak seidov
zakseidov at yahoo.com
Fri Jan 19 22:07:03 CET 2007
--- Artur <grafix at csl.pl> wrote:
> Procedure wasn't myself.
> Go in Mathematica Help check Complement later
> Further Examples and see
> last expample.
> >> A...... primes less than n and relatively prime
> to n
> >> {3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33,
> 37, 39, 41, 43, 47, 49, 51,
> >> 53, 57, 59, 61, 63, 67, 69, 71, 73, 77, 79, 81,
> 83, 87, 89, 91, 93, 97, 99}
It's a list of all numbers less than 100 and
relatively prime to 100.
Mathematica's description:
"RelativePrimes gives the list of primes less than n
and relatively prime to n"
is rather confusing..
Zak
> Dear Joshua.
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
> {3, 7, 9, 11, 13, 17, 19, 21, 23, 27, 29, 31, 33, 37, 39, 41, 43,
> 47, 49, 51,
> 53, 57, 59, 61, 63, 67, 69, 71, 73, 77, 79, 81, 83, 87, 89, 91, 93,
> 97, 99}
Joshua:
> I don't speak Mathematica but this looks a little weird. There
> certainly aren't 3 primes less than 1 and relatively prime to 1. So
> please clarify the definition for me, or explain what the Mathematica
> code is doing?
Jonathan:
> What am I missing? "primes less than n and relatively prime to n"
> means "primes."
What the Mathematica procedure examples is (indeed) a "list of primes
less than n and relatively prime to n" with n = 100. I agree that the
Mathematica help-guide should have used the word "numbers" instead of
"primes".
More information about the SeqFan
mailing list