| Bill Allombert on Sun, 12 Jan 2025 00:01:30 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: What’s the equivalent of Mathematica’s Function in Pari/Gp |
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.