2018 AMC 8 Problem 23

Attempt Problem 23 of the 2018 AMC 8 below, then check your answer against the video solution and professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2018 AMC 8 solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

23.

From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?
27 \dfrac{2}{7}
542 \dfrac{5}{42}
1114 \dfrac{11}{14}
57 \dfrac{5}{7}
67 \dfrac{6}{7}
Answer: D
Concepts:complementary countingstars and bars
Small hint:
Use complementary counting: count triangles with no adjacent chosen vertices.
Big hint:
After fixing one vertex, count the positive gaps around the octagon between the chosen vertices.
Video solution:
Solution video thumbnail
Play video

Click to load, then click again to play

Written solution:
Count the complement: triangles with no two chosen vertices adjacent. Starting at a chosen vertex, let x,y,zx,y,z be the positive numbers of unchosen vertices in the three gaps. Then x+y+z=5x+y+z=5, which has (42)=6\binom42=6 positive solutions.
There are 88 choices for the starting vertex, and each triangle is counted from each of its 33 vertices, so the complement contains 8⋅63=16\frac{8\cdot6}{3}=16 triangles. Out of (83)=56\binom83=56 total triangles, the desired probability is 1−1656=57.1-\frac{16}{56}=\frac{5}{7}.
Thus, D is the correct answer.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.