Pregunta de entrevista de GridCure

A math question solvable in any programming language.