Kevin Acres on Tue, 08 Nov 2016 21:50:42 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Issquare and rational Intmods


Hi Bill,

For example I need to calculate something like issquare(Mod(-1727/4, 37/6))

Sent from my iPhone

> On 9 Nov 2016, at 7:33 AM, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> wrote:
> 
>> On Wed, Nov 09, 2016 at 07:01:25AM +1100, Kevin Acres wrote:
>> I'm needing to perform an issquare(Mod(x,y),&s) where both x and y may
>> be rational and the square root is returned in s. 
>> 
>> Any help on how to do this correctly would be gratefully received.
> 
> You need to explain mathematicaly what you want: please write down the
> equation 's' must satisfy.
> 
> Mod(x,y) is only defined when y is an integer (or a polynomial).
> 
> Cheers,
> Bill.
>