The Mystery of Pell and NSW Numbers: Can You Solve It?

  • Context: Graduate 
  • Thread starter Thread starter T.Rex
  • Start date Start date
  • Tags Tags
    Mystery Numbers
Click For Summary
SUMMARY

The discussion centers on the equation 2^n + Q = m^2, specifically for Q = 1, where n must be odd. The trivial solution identified is (n, m) = (3, 3). The conversation highlights the relationship between this equation and Pell numbers, particularly (P, Q) = (2, -1), and NSW numbers generated by (P, Q) = (6, 1). The conclusion drawn is that (n, p) = (3, 3) is the unique solution for the equation when Q = 1.

PREREQUISITES
  • Understanding of Pell numbers and their properties
  • Familiarity with the PARI/GP programming environment
  • Knowledge of Mersenne numbers and their characteristics
  • Basic number theory, particularly concerning odd integers and quadratic equations
NEXT STEPS
  • Research advanced properties of Pell numbers and their applications
  • Explore the characteristics of NSW numbers and their generation
  • Learn about the implementation of number theory algorithms in PARI/GP
  • Investigate the implications of the equation 2^n + Q = m^2 for different values of Q
USEFUL FOR

Mathematicians, number theorists, and programmers interested in solving Diophantine equations and exploring the relationships between Pell numbers and prime number sequences.

T.Rex
Messages
62
Reaction score
0
Hi,
I'm looking to solutions of: [tex]2^n+Q=m^2[/tex] , where [tex]Q=1[/tex] .
Obviously, n must be odd.
I already know the trivial solution: [tex]2^3+1=3^2[/tex] and I've started using a naive PARI/gp program for finding (n,m) up to n=59 . No success yet.
Do you know about other solutions or about some theory ?

This is related to Pell numbers [tex](P,Q)=(2,-1)[/tex] and to a series of Prime numbers studied by Newman, Shanks and Williams, called NSW numbers, and generated by: [tex](P,Q)=(6,1)[/tex] .
The idea is to have [tex]D=P^2-4Q=2^n[/tex] and [tex]Q=\pm 1[/tex] .
Since Mersenne numbers are square-free, (2,-1) is the unic solution for Q=-1.
About Q=1, I don't know ...

Tony
 
Physics news on Phys.org
Well I don't know the solution, but this is how I would look at it. First of all we are looking at odd numbers, although before we do I would like to mention:

[tex]2^0 + 1 = 1^2[/tex]

Right so the from we have is:

[tex]2^{2m + 1} + 1 = 2 \cdot 2^{2m} + 1 = 2 \cdot \left( 2^m \right)^2 + 1 = 2a^2 + 1 = p^2[/tex]

So you are looking for the integer solutions of:

[tex]2 a^2 + 1 = p^2 \quad \text{where:} \quad a = 2^m \quad m, \, p \, \in \mathbb{N}[/tex]

Now, it's not too difficult to deduce from that that p must be odd. Not only that but p - 1 must be twice another square number. Hence:

[tex]p^2 = \left(2q + 1\right)^2 = 4q^2 + 4q + 1[/tex]

So:

[tex]2q^2 + 2q = a^2[/tex]

[tex]q^2 + q = 2^{2m - 1}[/tex]

[tex]q(q + 1) = 2^{2m - 1}[/tex]

Which is a contradiction for q > 1. Now look at q = 1, which is p=3 and your solution. :smile:
 
Last edited:
Thanks !

Thanks ! That proves that (n,p)=(3,3) is the unic solution of [tex]2^n+1=p^2[/tex].
Thanks to your proof, I think I have something shorter:
[tex]2^n+1=p^2 \leftrightarrow 2^n=(p-1)(p+1)[/tex] .
In order to have both [tex]p-1=2^\alpha[/tex] and [tex]p+1=2^\beta[/tex], it is clear that there is only 1 solution: [tex]p=3[/tex] .

Thanks !
Tony
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K