Serving the Quantitative Finance Community

 
User avatar
DevonFangs
Topic Author
Posts: 0
Joined: November 9th, 2009, 1:49 pm

an old one on prime numbers

September 29th, 2010, 1:00 pm

Show that if p is a prime number > 5, then p^2-1 is a multiple of 24.
 
User avatar
Paolos
Posts: 1
Joined: November 12th, 2004, 2:15 pm

an old one on prime numbers

September 29th, 2010, 2:12 pm

p^2-1=(p+1)*(p-1)The terms on the right side are 2 consecutive even numbers. So one is a multiple of 2 and the other is a multiple of 4. Moreover one of them is also a multiple of 3. (one of 3 consecutive numbers is a multiple of 3 and "p" is prime by definition). So (p^2-1) is a multiple of 2*3*4=24