Re: When/why is Denominator[p/q] != q?
- To: mathgroup at smc.vnet.net
- Subject: [mg46028] Re: When/why is Denominator[p/q] != q?
- From: "Peltio" <peltio at twilight.zone>
- Date: Tue, 3 Feb 2004 03:20:59 -0500 (EST)
- References: <bvla64$83$1@smc.vnet.net>
- Reply-to: "Peltio" <peltioNOSP at Miname.com.invalid>
- Sender: owner-wri-mathgroup at wolfram.com
"Relishguy" wrote
Hi,
> {p / q, Denominator[p/q] }
> {p / q, q }
If q has divisors in common with p, p/q can be simplified and
Denominator[p/q] gives the denominator of the simplified fraction.
20/12 = 5/3
q=12, Demoninator[p/q]=3
cheers,
Peltio
--
Invalid address in reply-to. Crafty demunging required to mail me.