Examples for

Step-by-Step Discrete Mathematics


Learn how to find a GCD:

See step‐by‐step solutions for LCM:

Determine if two integers are coprime:

Count the number of positive integers not exceeding the given number that are coprime to it:

Integer Factorization

Perform prime factorization one step at a time:

Base Conversions

Follow the steps to convert between bases:

Primality Testing

Find step-by-step solutions for primality testing:


Find divisors step by step:

Learn how to find the number of divisors:

Follow the steps to find the sum of the divisors:

See step-by-step solutions for the divisor function:

Learn how to check if a number is square free:

Arithmetic Functions

Learn how to evaluate arithmetic functions step by step:


  • Base Conversions
  • Discrete Mathematics
  • Number Theory
  • Divisibility

    See the steps to determine divisibility:


    Learn how to solve linear recurrence equations:

    Go Pro NowLearn more about Wolfram|Alpha Pro »