Problema:
Un 150×400×660 prisma rectangular se corta en 39600000 1×1×1 los cubos. Un interno de la diagonal del prisma pasa a través de cómo muchas de las 1×1×1 cubos?
Insight:
En lugar de mirar a un 150×400×660 prisma rectangular, miré a un
150gcd rectangular prism. However, these numbers were still too large to compute the problem manually. Are there any elegant solutions to this problem? I also tried putting the prism on the xyz avión, pero que me hizo nada bien. Cualquier ayuda es muy apreciada.