Re: What’s the equivalent of Mathematica ’s Solve[] Function in Pari/Gp ?
Laël Cellier <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <[email protected]> |
No,
it stops after finding the first solution instead of returning every
possible values and that’s what I’m needing. And even if gcdext was the
solution, how would I be able to use it since the equation contains a ==
sign ?
Cordialement,
Le 12/01/2025 à 00:01, Bill Allombert a écrit :
> On Sat, Jan 11, 2025 at 10:59:38PM +0100, Laël Cellier wrote:
>> Bonjour,
>>
>> simple question, in mathematica, I can write something like this :
>> Solve[((25)^2 + x RSA260)/(y) == (Floor[RSA260^(1/2)] + 1)^2, {x, y},
>> Integers]
>> where RSA260 is variable, and it returns me a value of x and y for which the
>> equation is true.
> Does it just try every couple (x,y) ?
> You can solve that in GP using gcdext.
>
> Cheers,
> Bill.
>
>