WordGPT

The number 40789

40789 is a composite number with 4 divisors. Its prime factorisation is 7 × 5827. Divisors (4): 1, 7, 5827, 40789.

Number

Pick any whole number from 1 to 100,000.

How to work it out

  1. 1

    What is special about 40789: a semiprime: 7 × 5827, the product of two primes.

  2. 2

    40789 is composite. Its prime factorisation is

    40789=7×582740789 = 7 \times 5827
  3. 3

    The divisors add up to 46624; without 40789 itself that is 5835, so 40789 is deficient (5835 is less than 40789). Euler's totient φ(40789) = 34956 numbers up to 40789 share no factor with it.

  4. 4

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

LaTeX source of the formulas on this page
\[ 40789 = 7 \times 5827 \]

40789 at a glance

PropertyValue
Typecomposite
Number of divisors4
Sum of divisors46624
Euler totient φ(n)34956
Square1663742521
Cube67862393689069
Square root201.962868
Digit sum / digital root28 / 1
Collatz steps to 162
Scientific notation4.0789 × 10410^{4}

40789 in other forms

FormValue
In wordsforty thousand seven hundred and eighty-nine
Binary (base 2)1001111101010101
Octal (base 8)117525
Hexadecimal (base 16)9F55
Base 32001221201
As time40789 seconds = 11 h 19 min 49 s

Is 40789 divisible by 2 to 12?

DivisorAnswerRule
2No (remainder 1)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.
4No (remainder 1)A number is divisible by 4 if the last two digits make a multiple of 4.
5No (remainder 4)A number is divisible by 5 if the last digit is 0 or 5.
6No (remainder 1)A number is divisible by 6 if it is divisible by both 2 and 3.
7Yes (40789 ÷ 7 = 5827)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 5)A number is divisible by 8 if the last three digits make a multiple of 8.
9No (remainder 1)A number is divisible by 9 if the digits add up to a multiple of 9.
10No (remainder 9)A number is divisible by 10 if the last digit is 0.
11No (remainder 1)A number is divisible by 11 if the alternating sum of the digits is a multiple of 11.
12No (remainder 1)A number is divisible by 12 if it is divisible by both 3 and 4.

Questions

Is 40789 a prime number?

No. 40789 = 7 × 5827, so it is divisible by 7.

What are the factors of 40789?

1, 7, 5827, 40789.

What is 40789 in binary?

1001111101010101 (hexadecimal 9F55, octal 117525).

What is the square root of 40789?

About 201.9629.

Is 40789 divisible by 3?

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

What is special about the number 40789?

40789 is a semiprime: 7 × 5827, the product of two primes.

Find the next one

Nearby numbers

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