The Exponent of a Number

In this lesson, we will learn how to find the exponent of a number using recursion.

What does Exponent of a Number mean?

An exponent tells you how many times the base number is used as a factor. It is written as a small number to the right of and above the base number. A base of five raised to the second power is called five squared. This means five times five. Five raised to the third power is called five cubed. It means five times five times five. The base can be any sort of number; a whole number, a decimal number, or a fraction can all be raised to a power.

For example, if the base number is 2 and the exponent value is 3, we represent this as follows:

$ 2^3 = 8 $

The following illustration explains the concept.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.