mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2005-04-11, 10:31   #1
jtavares
 
Nov 2004

32 Posts
Default Looking for solutions to w^2-n*x^2=z^2

How can i find solutions (w, x, z) to the following equation:

w^2-n*x^2=z^2


Can i use the continued fraction expansion? and how?
Is the solution related to the factorization of n?
jtavares is offline   Reply With Quote
Old 2005-04-11, 11:37   #2
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

53×61 Posts
Thumbs up

Quote:
Originally Posted by jtavares
How can i find solutions (w, x, z) to the following equation:

w^2-n*x^2=z^2


Can i use the continued fraction expansion? and how?
Is the solution related to the factorization of n?
We will assume n is squarefree (standard assumption; otherwise just do
a change of variables)

For z = 1, solution methods are well known. This is Pell's equation. For z > 1,
there are extensions of the cfrac method. See Henri Cohen's book. I don't
have it handy, so can't look up the exact reference.
R.D. Silverman is offline   Reply With Quote
Old 2005-04-11, 18:46   #3
jtavares
 
Nov 2004

118 Posts
Default

No, Henri Cohen's books do not deal with it - "A course in computacional algebraic number theory" and "Advanced topics in computacional number theory". I could only find the solution to x^2+dy^2=p with d>0 and p prime (Cornachia). I am not sure if this could be used to solve w^2-n*x^2=z^2 by transforming it to z^2+n*x^2=w^2. Anyway there sould be a suitable continued fraction aproximation too but i can not find it.
jtavares is offline   Reply With Quote
Old 2005-04-11, 19:25   #4
Citrix
 
Citrix's Avatar
 
Jun 2003

31378 Posts
Default

an easier method

w^2-n*x^2=z^2

then

w^2-z^2=n*x^2

or

(w-z)* (w+z) =n*x^2

factorize n*x^2 to get solutions of w and z.

Citrix
Citrix is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solutions to a^2-ab+b^2 = 3^n carpetpool carpetpool 2 2017-02-09 06:41
Fedora 22 (or, Gnome 3) Annoyances - are there solutions? EdH Linux 16 2016-03-18 17:20
Number of Solutions to d(p) flouran Math 20 2009-09-08 05:48
Possible solutions to an equation: Vijay Math 6 2005-04-14 05:19
Puzzles without solutions Orgasmic Troll Puzzles 12 2003-07-16 09:36

All times are UTC. The time now is 10:47.


Sat Sep 23 10:47:07 UTC 2023 up 10 days, 8:29, 0 users, load averages: 1.26, 1.29, 1.33

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔