John Cremona on Wed, 09 Nov 2016 10:05:28 +0100


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

Re: Issquare and rational Intmods


On 8 November 2016 at 20:50, Kevin Acres <research@research-systems.com> wrote:
> Hi Bill,
>
> For example I need to calculate something like issquare(Mod(-1727/4, 37/6))

What do you expect Mod(-1727/4, 37/6) to mean?

John

>
> 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.
>>
>
>