Mental sport - Yes.

It is the exploration and enumeration of the possible rhythms that led to the discovery of Fibonacci sequence and binary representation in around 200 BC.

https://en.m.wikipedia.org/wiki/Pingala#Combinatorics