Prime number problem, pure maths, explain this solution

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
smiddy
Messages
1
Reaction score
0

Homework Statement



Prove that for every k >= 2 there exists a number with precisely k divisors.


I know the solution, but don't fully understand it, here it is;


Consider any prime p. Let n = p^(k-1). An integer divides n if and only if it has the form p^i where 0<= i <= (k-1). There are k choices for i, therefore n has exactly k divisors.

Could someone fully explain the thought process involved in finding the solution, I understand p^i etc, just don't know where p^(k-1) comes from.
 
Physics news on Phys.org
If you understood the though process, you'd know where [tex]p^{k-1}[/tex] came from. Given the problem, one can decide to be clever and take a prime, say p. Then if we look at

1,p,p2,...pk-1

Then 1, p, p2, ... ,pk-1 all divide pk-1, and no other numbers do. Hence, we found a number with exactly k divisors