2022 AIME II Problem 5
Problem 5 of 15EasierNumber TheoryProblem-Solving Techniques
Twenty distinct points are marked on a circle and labeled through in clockwise order. A line segment is drawn between every pair of points whose labels differ by a prime number. Find the number of triangles formed whose vertices are among the original points.
Your answer
Integer from 0 to 999
Show solution
Solution
A triangle has vertices where and are all prime. Since is a prime that is a sum of two primes, and the sum of two odd primes is even, one of the two smaller differences must equal So the differences are in some order with and both prime: the twin prime pairs with are and
For each pair, the middle vertex can be at distance or at distance from the smallest, and the total span is so there are triangles. This gives and for the four pairs.
The total is
Tagged: prime · parity · casework