Skip to main content
3 of 7
added 29 characters in body
GentlePurpleRain
  • 26.5k
  • 6
  • 95
  • 159

Bouncing ball on a billiard board

Consider a unconventional billiard board in the shape of an equilateral triangle (depicted below). An incredibly small ball (size in picture is increased for the sake of visibility on your screen) is put in the A corner.

Ett javla fint biljardbord, eller hur?

How many paths for the ball are there such that the ball bounces off the sides exactly 20160127 times, starting and ending in the A corner?

Note: the question is heavily inspired by a question on the Project Euler website, which I enjoyed very much solving.

Carl Löndahl
  • 5.3k
  • 1
  • 19
  • 29