Problem 60983. Check Euler's characteristic on regular polyhedra

Problem statement
Given the number of vertices and the number of faces of a given regular polyhedron, compute the number of its edges with Euler characteristic, a powerful generic formula linking these three.
Examples -> check the test suite
Forbidden functions / expressions
  • regexp
  • assignin
  • str2num
  • echo
See also

Solution Stats

77.27% Correct | 22.73% Incorrect
Last Solution submitted on Sep 01, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers17

Suggested Problems

More from this Author42

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!