Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2025 March 3

From Wikipedia, the free encyclopedia
Mathematics desk
< March 2 << Feb | March | Apr >> March 4 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 3

[edit]

How to find a solution to this equation so the result is a perfect square without factorizing the semiprime ?

[edit]

Simple question, I’ve the following expression : (y² + x×2032123)÷(17010411399424)

for example, x=2151695167965 and y=9 leads to 257049 which is the perfect square of 507

I want to find 1 or more set of integer positive x and y such as the end result is a perfect square (I mean where the square root is an integer). But how to do it if the divisor 17010411399424 is a different integer which thar time is non square and/or 2032123 is replaced by a semiprime impossible to factor ? 2A0D:E487:133F:E9BF:C9D5:9381:E57D:FCE8 (talk) 21:35, 3 March 2025 (UTC)[reply]

We can generalize to finding solutions to for fixed (in your case, 2032123 and 17010411399424 respectively.) Rearranging yields . As long as there is some such that , you can generate infinitely many solutions by taking and and working backwards to get . Of course, some solutions correspond to negative values, but you can always just increase and/or decrease as needed. To find if there is such satisfying in the first place, you could just check values between 1 and inclusive until you find one, without needing to factorize. GalacticShoe (talk) 04:00, 4 March 2025 (UTC)[reply]
I need only positive solutions and where y<A
May you give a step by step example please?
Also, what do you mean by checkin values between 1 and inclusive until you find one ? How to do it ? Becuase I suppose that if A is 2000 bits long that this can t be done at random

2A0D:E487:35F:E1E1:51B:885:226F:140F (talk) 05:07, 4 March 2025 (UTC)[reply]