Proving the Only Solution to p is 3: A Simple Mathematical Proof

  • Context: Undergrad 
  • Thread starter Thread starter MathematicalPhysicist
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary

Discussion Overview

The discussion revolves around the mathematical problem of proving that the only solution to the equation \( n^2 - 1 = p \), where \( n \) is a natural number and \( p \) is a prime number, is \( p = 3 \). Participants explore various approaches to the problem, including factorization and generalizations to similar equations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes that since \( n^2 - 1 = (n-1)(n+1) \) is prime, one of the factors must equal 1, leading to the conclusion that \( n = 2 \) and thus \( p = 3 \).
  • Another participant suggests that the problem is a common style, referencing similar equations involving primes and integers.
  • A different participant attempts to solve a related equation \( (n-3)(n+3) = 7p \) and discusses potential solutions, noting the complexity of the problem.
  • One participant emphasizes the need to consider multiple cases when solving equations of this form, particularly when \( k \) is a square number.
  • Another participant raises the possibility of multiple solutions or the absence of solutions, referencing advanced number theory and quadratic residues.
  • There is a suggestion that understanding the conditions under which solutions exist may require deeper knowledge of number fields.

Areas of Agreement / Disagreement

Participants express differing views on the generalization of the problem and the methods for solving it. There is no consensus on the existence of solutions for the generalized forms of the equation discussed.

Contextual Notes

Participants mention the complexity of the equations and the potential need for advanced mathematical concepts, such as quadratic residues and number fields, to fully understand the conditions for solutions.

MathematicalPhysicist
Science Advisor
Gold Member
Messages
4,662
Reaction score
372
i made a question by myself here it goes:
proove that the only solution to p is 3:
n^2-1=p where n is a natural number and p is a prime number.

now I am not sure about my proof so don't kill me (-:

from what we are given n^2-1 is a prime number which is (n-1)(n+1)
we all know that a prime number can only be divided by itself and by one therefore we can put it into options either n-1=1 and n+1=n^2-1 or n-1=n^2-1 and n+1=1
from the solutions of this equations we find the answers to n are:
2,-1,2,0,1,0 respectively.
now the only number which suits the equality is 2 and therefore p is 3.

what do you think? easy question?
 
Physics news on Phys.org
You can save time since the factorization (n+1)(n-1)=p implies

one of n-1 or n+1 must be 1, the only anwer then being n-1=1, n=2, p=3.This is a very common style of problem, often stated along the lines of, find all integers, n, where n^2 = 7P+9, say, where p is prime

then (n-3)(n+3) = 7p... can you solve this one?
 
(n-3)(n+3)=7p
n-3=7 => n=10 p=13 (a prime)
n+3=p
n-3=p
n+3=7 => n=4 p=1 (not a prime)


i see now the general form of equation:
n^2=qp+k n,k-natural number
q,p- primes

am i right? (btw this form of equation gives me somekind of dejavue like i saw at somewhere before).
 
You also need to consider

n-3 =1, n+3 = 7p

and finally
n-3=7p, n+3=1

This method only works when k is a square number, so that you can form the difference of two squares on the left.
 
so change my general equation into:
n^2=qp+k^2 the same notation as first.

now it raises the question how do you solve n^2=qp+k? i assume there isn't only one way.
 
There may or may not be solutions. There is a lot of high powered number theory involved in these minds of things. For a long time people kept coming up with proofs of Fermat's Last Theorem because they didnt' understand equations like this.

Here are somethings we could do.


Notice that n^2 =k mod(pq) so, for existence, it is necessary that k is a quadratic residue mod pq. Using legendre symbols one can come up with various necessary conditions on the p and q and k for there to be a solution.

Suppose q and k are given, eg find all integers n and primes p with

n^2= 7p+3

That requires us to find an n with n^2 = 3 mod7

the residues mod 7 are 1,4, and 2, so there can be no solutions for any n, irrespective of the p.

I can't think of anyway that always sovles this type of equation, and to be honest I can't think of getting sufficient conditions for a solution to exist either.

You might well need to learn more about number fields and such
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
48
Views
7K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K