Groups | Search | Server Info | Login | Register
Groups > comp.soft-sys.math.maple > #161
| From | Peter Pein <petsie@dordos.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.maple |
| Subject | Re: Mod |
| Date | 2011-05-23 14:07 +0200 |
| Organization | 1&1 Internet AG |
| Message-ID | <irdilb$qlf$1@online.de> (permalink) |
| References | <_dudnRR1uL-yX0TQnZ2dnUVZ_oGdnZ2d@wavecable.com> <93ucb2F9lmU1@mid.individual.net> |
Am 23.05.2011 08:14, schrieb Axel Vogt: > Thomas D. Dean wrote: >> Maple 11 >> >> 1/3 mod 7 >> 5 >> (1/3) mod 7 >> 5 >> -2 mod 7 >> 5 >> >> How do I explain 1/3 mod 7 in terms of the definition? >> >> r = a mod n >> >> a = n*q + r >> >> >> tomdean > > Your input 1/3 is interpreted as "multiplicative inverse > of 3" and Maple answers that: 3*5 = 15 = 2*7 + 1 = 1 (7). > > Try to enter 1/2 mod 14. You will get "Error, the modular > inverse does not exist" so "mod" is not the "mod" I know? I would expect for any x < 14 that mod (x,14)=x and not an error-message. Should my professor for numbertheory be set on fire?
Back to comp.soft-sys.math.maple | Previous | Next — Previous in thread | Next in thread | Find similar
Mod "Thomas D. Dean" <tomdean@speakeasy.org> - 2011-05-22 19:10 -0700
Re: Mod Peter Pein <petsie@dordos.net> - 2011-05-23 07:39 +0200
Re: Mod Axel Vogt <&noreply@axelvogt.de> - 2011-05-23 08:14 +0200
Re: Mod "G. A. Edgar" <edgar@math.ohio-state.edu.invalid> - 2011-05-23 06:04 -0600
Re: Mod Peter Pein <petsie@dordos.net> - 2011-05-23 14:07 +0200
Re: Mod Axel Vogt <&noreply@axelvogt.de> - 2011-05-23 14:59 +0200
Re: Mod Ilmari Karonen <usenet2@vyznev.invalid> - 2011-05-28 22:04 +0000
Re: Mod Joe Riel <joer@san.rr.com> - 2011-05-31 15:26 -0700
Re: Mod "G. A. Edgar" <edgar@math.ohio-state.edu.invalid> - 2011-05-23 10:08 -0600
Re: Mod "Nasser M. Abbasi" <nma@12000.org> - 2011-05-23 16:04 -0700
csiph-web