WordGPT

The number 40

40 is a composite number with 8 divisors. Its prime factorisation is 232^{3} × 5. Divisors (8): 1, 2, 4, 5, 8, 10, 20, 40.

Number

Pick any whole number from 1 to 100,000.

How to work it out

  1. 1

    What is special about 40: a Harshad number: divisible by its digit sum 4.

  2. 2

    40 is composite. Its prime factorisation is

    40=23×540 = 2^{3} \times 5
  3. 3

    The divisors add up to 90; without 40 itself that is 50, so 40 is abundant (50 is more than 40). Euler's totient φ(40) = 16 numbers up to 40 share no factor with it.

  4. 4

    The digits of 40 add up to 4, and repeating that until one digit is left gives the digital root 4. The Collatz sequence (halve if even, else 3n+1) takes 8 steps to reach 1.

LaTeX source of the formulas on this page
\[ 40 = 2^{3} \times 5 \]

40 at a glance

PropertyValue
Typecomposite
Number of divisors8
Sum of divisors90
Euler totient φ(n)16
Square1600
Cube64000
Square root6.324555 (= 2√10)
Digit sum / digital root4 / 4
Collatz steps to 18
Scientific notation4 × 10110^{1}

40 in other forms

FormValue
In wordsforty
Roman numeralsXL
Binary (base 2)101000
Octal (base 8)50
Hexadecimal (base 16)28
Base 31111
As time40 seconds

Is 40 divisible by 2 to 12?

DivisorAnswerRule
2Yes (40 ÷ 2 = 20)A number is divisible by 2 if the last digit is even (0, 2, 4, 6, 8).
3No (remainder 1)A number is divisible by 3 if the digits add up to a multiple of 3.
4Yes (40 ÷ 4 = 10)A number is divisible by 4 if the last two digits make a multiple of 4.
5Yes (40 ÷ 5 = 8)A number is divisible by 5 if the last digit is 0 or 5.
6No (remainder 4)A number is divisible by 6 if it is divisible by both 2 and 3.
7No (remainder 5)A number is divisible by 7 if double the last digit and subtract it from the rest: the result is a multiple of 7.
8Yes (40 ÷ 8 = 5)A number is divisible by 8 if the last three digits make a multiple of 8.
9No (remainder 4)A number is divisible by 9 if the digits add up to a multiple of 9.
10Yes (40 ÷ 10 = 4)A number is divisible by 10 if the last digit is 0.
11No (remainder 7)A number is divisible by 11 if the alternating sum of the digits is a multiple of 11.
12No (remainder 4)A number is divisible by 12 if it is divisible by both 3 and 4.

Questions

Is 40 a prime number?

No. 40 = 232^{3} × 5, so it is divisible by 2.

What are the factors of 40?

1, 2, 4, 5, 8, 10, 20, 40.

What is 40 in binary?

101000 (hexadecimal 28, octal 50).

What is the square root of 40?

About 6.3246, exactly 2√10.

What is 40 in Roman numerals?

XL.

Is 40 divisible by 3?

No. Its digits add up to 4, which is not a multiple of 3.

What is special about the number 40?

40 is a Harshad number: divisible by its digit sum 4.

All about 40

Find the next one

Nearby numbers

    40: is it prime? Factors, square root, binary, Roman numeral | WordGPT