Cool math problem

 

v20240901