WordGPT

The number 50789

50789 is the 5204th prime number. Its only divisors are 1 and 50789.

Number

Pick any whole number from 1 to 100,000.

How to work it out

  1. 1

    What is special about 50789: the 5204th prime number; a happy number: repeatedly adding the squares of its digits reaches 1.

  2. 2

    50789 is prime, so its only factors are 1 and 50789. It is the 5204th prime; the next prime is 50821 and the one before is 50777.

  3. 3

    The divisors add up to 50790; without 50789 itself that is 1, so 50789 is deficient (1 is less than 50789). Euler's totient φ(50789) = 50788 numbers up to 50789 share no factor with it.

  4. 4

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

50789 at a glance

PropertyValue
Typeprime
Number of divisors2
Sum of divisors50790
Euler totient φ(n)50788
Square2579522521
Cube131011369319069
Square root225.364150
Digit sum / digital root29 / 2
Collatz steps to 139
Scientific notation5.0789 × 10410^{4}

50789 in other forms

FormValue
In wordsfifty thousand seven hundred and eighty-nine
Binary (base 2)1100011001100101
Octal (base 8)143145
Hexadecimal (base 16)C665
Base 32120200002
As time50789 seconds = 14 h 6 min 29 s

Is 50789 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 2)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 5)A number is divisible by 6 if it is divisible by both 2 and 3.
7No (remainder 4)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 2)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 2)A number is divisible by 11 if the alternating sum of the digits is a multiple of 11.
12No (remainder 5)A number is divisible by 12 if it is divisible by both 3 and 4.

Questions

Is 50789 a prime number?

Yes. 50789 is divisible only by 1 and itself.

What are the factors of 50789?

1, 50789.

What is 50789 in binary?

1100011001100101 (hexadecimal C665, octal 143145).

What is the square root of 50789?

About 225.3641.

Is 50789 divisible by 3?

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

What is special about the number 50789?

50789 is the 5204th prime number; a happy number: repeatedly adding the squares of its digits reaches 1.

All about 50789

Find the next one

Nearby numbers

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