Skip to content
ExamplesEspañolWorkspace →

Math

Maths problems solved with algorithms: primes, divisors, greatest common divisor and more.

8 examples

  • Prime Numbers

    Finds every prime number up to a limit.

    Intermediate
  • GCD and LCM

    Computes the greatest common divisor and the least common multiple.

    Intermediate
  • Fibonacci Sequence

    Prints the first terms of the Fibonacci sequence.

    Beginner
  • Quadratic Equation

    Solves ax² + bx + c = 0, with real or complex roots.

    Intermediate
  • Roman Numerals

    Converts a number from 1 to 3999 into Roman numerals.

    Advanced
  • Base Conversion

    Writes a number in binary and hexadecimal.

    Advanced
  • Geometry

    Finds a circle's area and solves a right triangle.

    Intermediate
  • Compound Interest

    Watch your savings grow year by year.

    Intermediate