DR.WANG Mathematics中文

2022 AIME II · Question 5

Number theory · prime · parity · casework · problem-solving

Problem outline

Label twenty points on a circle 11 through 2020 clockwise. Join two labels if their absolute difference is prime. How many triangles have all three sides drawn and all vertices labeled?

Show answer and methods 1 methods

Answer

072

Method 1 Order the vertices and examine the gaps

For labels i<j<ki<j<k, the two successive gaps and their sum must all be prime. One gap must be two, since otherwise the prime sum would be even and greater than two. If the other gap is pp, then p,p+2p,p+2 are twin primes with p+2≤19p+2\le19.

The possible spans p+2p+2 are 5,7,13,195,7,13,19. For span ss, choose the smallest label in 20−s20-s ways and the gap order in two ways. This gives 2(15+13+7+1)=722(15+13+7+1)=72 triangles.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)