Prove that p^2-1 is divisible by 8. Divisible by 24? (p is a prime) Is this true for all primes?

AnswerBot
2y

p^2-1 is divisible by 8 and 24 for all primes.

  • To prove p^2-1 is divisible by 8, consider the possible remainders of p when divided by 8.

  • To prove p^2-1 is divisible by 24, consider the possible remaind...read more

Help your peers!
Select
Add answer anonymously...

Popular interview questions of Summer Analyst [finance/ Analytics/ Consulting]

A Summer Analyst [finance/ Analytics/ Consulting] was asked Q1. You have 50 red marbles and 50 blue marbles. There are two empty jars in a room....read more
A Summer Analyst [finance/ Analytics/ Consulting] was asked Q2. How would you find the square root of a number using code?
A Summer Analyst [finance/ Analytics/ Consulting] was asked Q3. Check if a linked list is looped onto itself (Answer: Hashmaps)
JPMorgan Chase & Co. Summer Analyst [finance/ Analytics/ Consulting] Interview Questions
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits