Skip to content

Triangles from prime-difference chords on a circle

Question

Twenty points on a circle are labelled 11 through 2020. A chord is drawn between two points exactly when the difference of their labels is prime. How many triangles have all three sides among these chords?

Short answer

7272. For labels x>y>zx>y>z we need x−yx-y, y−zy-z and their sum x−zx-z all prime. A sum of two primes is an odd prime only if one of them is 22, so the gaps are {2,p}\{2,p\} with pp and p+2p+2 twin primes: (3,5),(5,7),(11,13),(17,19)(3,5),(5,7),(11,13),(17,19). Counting both orders and all valid starting labels gives 7272.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Probability Fundamentals is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free