Re: What’s the equivalen t of Mathematica’s Function in Pari/Gp

Bill Allombert <[email protected]>
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <Z4L4RibKD7IpeI-j@seventeen>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.