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!
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


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
AmbitionBox Awards
Get AmbitionBox app

