Article View: sci.math.num-analysis
Article #1237Re: Discrete hyperbolic problem
From: Tapio Hurme
Date: Thu, 03 Jun 1999 00:00
Date: Thu, 03 Jun 1999 00:00
25 lines
1919 bytes
1919 bytes
(x-y)(x+y)=z , if x-y=1 then z=x+y -> y+1+y=z and 2y=z-1 and y=(z-1)/2. (Ref. Euler and Fermat: "Every prime is The difference of two squares". Tapio Paul Nulsen wrote in message ... |Ricky Laksanadjaja <lricky@earthcorp.com> writes: |>Hi, |>Does anybody know if there is a fast algorithm to solve the following |>problem? |>Equation: x^2 - y^2 = z , where x is a positive integer, y is a |>positive integer, and x > y, and z is a large positive integer (>200 |>digit number). For a given Zt, can you find Xn, where Xn is the first |>integer which is greater or equal to SQRT(Zt), i.e. Xn >= SQRT(Zt), |>which gives an integer Ym, which will satisfy the above hyperbolic |>equation? (snip) |Since x^2 - y^2 = (x + y)(x - y), any solution gives a factorization of z. |So, if z = p q with p > q, then x = (p + q)/2 and y = (p - q)/2 give a |solution (not necessarily integral). (snip) |Paul Nulsen |
Technical Details
Message-ID:
<7j4up6$ghd$1@tron.sci.fi>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<37558EA7.D17E1699@earthcorp.com> <pejn.928370163@wumpus>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107079,ab68dac0560b9fa8 X-Google-Attributes: gid107079,public X-Google-Thread: 10d29f,ab68dac0560b9fa8 X-Google-Attributes: gid10d29f,public X-Google-Thread: 109d8a,ab68dac0560b9fa8 X-Google-Attributes: gid109d8a,public X-Google-Thread: 10d67e,ab68dac0560b9fa8 X-Google-Attributes: gid10d67e,public From: "Tapio Hurme" <hurmecom@dlc.fi> Subject: Re: Discrete hyperbolic problem Date: 1999/06/03 Message-ID: <7j4up6$ghd$1@tron.sci.fi> X-Deja-AN: 485264333 Approved: Daniel Grayson, dan@math.uiuc.edu, moderator for sci.math.research References: <37558EA7.D17E1699@earthcorp.com> <pejn.928370163@wumpus> Organization: SAUNALAHDEN SERVERIN asiakas X-Authentication-Warning: backdraft.briar.org: smap set sender to <news@tron.sci.fi> using -f X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: sci.math.num-analysis,sci.math.research,sci.math,aus.mathematics Originator: dan@orion.math.uiuc.edu