Proving (n-1)|(n^k - 1) and the Primality of n^k - 1 when n=2 and k is Prime

In summary, to prove that (n-1)|(n^k - 1), you can use proof by induction and the formula (n-1)(n^{k-1}+n^{k-2}+\ldots+n+1)=n^k-1. This can also be used to prove that if n^k - 1 is prime, then n=2 and k is prime.
  • #1
Fairy111
73
0

Homework Statement



Let n and k be integers with n>=2 and k>=2. Prove that (n-1)|(n^k - 1).
Hence prove that if n^k - 1 is prime then n=2 and k is prime.

Homework Equations





The Attempt at a Solution



I think you go about this question by using proof by induction. However I am really not sure how to do this. Any help would be great! Thanks
 
Physics news on Phys.org
  • #2
Hint: [tex](n-1)(n^{k-1}+n^{k-2}+\ldots+n+1)=n^k-1[/tex]
 
  • #3
its supposed to be n^(k) - 1
 
  • #4
Fairy111 said:
its supposed to be n^(k) - 1

Isn't that the same as the RHS of the formula I wrote?
 

1. What are prime numbers?

Prime numbers are positive integers that are only divisible by 1 and themselves. Examples of prime numbers include 2, 3, 5, 7, and 11.

2. How do you determine if a number is prime?

To determine if a number is prime, you can check if it is only divisible by 1 and itself. One way to do this is by using a technique called trial division, where you divide the number by all smaller numbers and see if there is a remainder. If there is no remainder for any number other than 1 and itself, then the number is prime.

3. What is the Sieve of Eratosthenes?

The Sieve of Eratosthenes is an ancient algorithm for finding all the prime numbers up to a given number. It works by creating a list of all numbers up to the given number and then systematically crossing out multiples of each prime number until only the prime numbers are left.

4. Are there an infinite number of prime numbers?

Yes, there are an infinite number of prime numbers. This was first proven by the ancient Greek mathematician Euclid in his book "Elements". He showed that if there were a finite number of prime numbers, then you could always find a new prime number by multiplying all existing prime numbers together and adding 1.

5. What are some applications of prime numbers?

Prime numbers have many applications in mathematics and computer science. They are used in cryptography to create secure codes, in factoring large numbers, and in generating random numbers. Prime numbers also have connections to other areas of math, such as geometry, and have been studied for centuries by mathematicians.

Similar threads

  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
544
Replies
12
Views
876
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
3K
  • Calculus and Beyond Homework Help
Replies
9
Views
909
  • Calculus and Beyond Homework Help
Replies
13
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
234
Back
Top