WordGPT

The number 40158

40158 is a composite number with 24 divisors. Its prime factorisation is 2 × 323^{2} × 23 × 97. Divisors (24): 1, 2, 3, 6, 9, 18, 23, 46, 69, 97, 138, 194, 207, 291, 414, 582 … 40158.

Number

Pick any whole number from 1 to 100,000.

How to work it out

  1. 1

    What is special about 40158: a Harshad number: divisible by its digit sum 18.

  2. 2

    40158 is composite. Its prime factorisation is

    40158=2×32×23×9740158 = 2 \times 3^{2} \times 23 \times 97
  3. 3

    The divisors add up to 91728; without 40158 itself that is 51570, so 40158 is abundant (51570 is more than 40158). Euler's totient φ(40158) = 12672 numbers up to 40158 share no factor with it.

  4. 4

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

LaTeX source of the formulas on this page
\[ 40158 = 2 \times 3^{2} \times 23 \times 97 \]

40158 at a glance

PropertyValue
Typecomposite
Number of divisors24
Sum of divisors91728
Euler totient φ(n)12672
Square1612664964
Cube64761399624312
Square root200.394611 (= 3√4462)
Digit sum / digital root18 / 9
Collatz steps to 1119
Scientific notation4.0158 × 10410^{4}

40158 in other forms

FormValue
In wordsforty thousand one hundred and fifty-eight
Binary (base 2)1001110011011110
Octal (base 8)116336
Hexadecimal (base 16)9CDE
Base 32001002100
As time40158 seconds = 11 h 9 min 18 s

Is 40158 divisible by 2 to 12?

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

Questions

Is 40158 a prime number?

No. 40158 = 2 × 323^{2} × 23 × 97, so it is divisible by 2.

What are the factors of 40158?

1, 2, 3, 6, 9, 18, 23, 46, 69, 97, 138, 194, 207, 291, 414, 582, 873, 1746, 2231, 4462, 6693, 13386, 20079, 40158.

What is 40158 in binary?

1001110011011110 (hexadecimal 9CDE, octal 116336).

What is the square root of 40158?

About 200.3946, exactly 3√4462.

Is 40158 divisible by 3?

Yes. Its digits add up to 18, a multiple of 3.

What is special about the number 40158?

40158 is a Harshad number: divisible by its digit sum 18.

Find the next one

Nearby numbers

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