Teaser 2424: [Five-pointed star]
From The Sunday Times, 8th March 2009 [link]
I have drawn a five-pointed star with points A, B, C, D, E clockwise (i.e., the star is formed by the lines AC, CE, EB, BD and DA). Measured in degrees, the star’s angles at A, B, C, D and E, respectively, form an arithmetic progression of whole numbers. Also, within that star, the lines have created a small pentagon. Altogether the five angles in the star and the five angles of the small pentagon include four prime numbers.
What are those primes?
This puzzle was originally published with no title.
[teaser2424]
Jim Randell 8:38 am on 10 June 2026 Permalink |
(See also: Teaser 1885, also set by Nick MacKinnon).
If we denote the angles at the vertices of the star as a, b, c, d, e, and the opposite angles in the pentagon as a′, b′, c′, d′, e′, then from the triangles formed by the star we have:
And the internal angles of the pentagon sum to 540°, hence:
And these form an arithmetic progression, so we can write:
If x is even then all the angles involved will also be even, so we are not going to get 4 different prime numbers among them. So we can skip even x.
This program considers possible x values to find a viable angles for the internal vertices of the star and for the smaller pentagon.
It runs in 74ms. (Internal runtime is 91µs).
from enigma import (irange, icount, is_prime, printf) # consider possible common differences in the arithmetic progression for x in irange(1, 17, step=2): # construct the progression ns = list(irange(36 - 2*x, 36 + 2*x, step=x)) # count the number of primes involved pn = icount(ns, is_prime) # calculate the internal angles of the pentagon (a, b, c, d, e) = ns Ns = ( 180 - (b + e), 180 - (c + a), 180 - (d + b), 180 - (e + c), 180 - (a + d), ) # count the primes in these pN = icount(Ns, is_prime) # check for exactly 4 prime angles if pn + pN == 4: # output solution printf("a={a} x={x} -> ns={ns} ({pn} prime); Ns={Ns} ({pN} prime)")Solution: The primes are: 31, 41, 103, 113.
The angles at the vertices of the star form the following progression: (26°, 31°, 36°, 41°, 46°).
And the corresponding angles at the vertices of the pentagon are: (103°, 118°, 108°, 98°, 113°).
Here is a possible construction of the star:
LikeLike
Ruud 1:31 pm on 10 June 2026 Permalink |
import peek import istr for start in range(2, 35, 2): inc = (180 - 5 * start) // 10 outer_angles = [start + i * inc for i in range(5)] inner_angles = [180 - angle1 - angle2 for angle1, angle2 in zip(outer_angles, outer_angles[2:] + outer_angles[:2])] if len(prime_angles := [angle for angle in outer_angles + inner_angles if istr.is_prime(angle)]) == 4: peek(prime_angles)LikeLike