WordGPT

The number 31221

31221 is a composite number with 6 divisors. Its prime factorisation is 323^{2} × 3469. Divisors (6): 1, 3, 9, 3469, 10407, 31221.

Number

Pick any whole number from 1 to 100,000.

How to work it out

  1. 1

    What is special about 31221: a happy number: repeatedly adding the squares of its digits reaches 1; a Harshad number: divisible by its digit sum 9.

  2. 2

    31221 is composite. Its prime factorisation is

    31221=32×346931221 = 3^{2} \times 3469
  3. 3

    The divisors add up to 45110; without 31221 itself that is 13889, so 31221 is deficient (13889 is less than 31221). Euler's totient φ(31221) = 20808 numbers up to 31221 share no factor with it.

  4. 4

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

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

31221 at a glance

PropertyValue
Typecomposite
Number of divisors6
Sum of divisors45110
Euler totient φ(n)20808
Square974750841
Cube30432696006861
Square root176.694652 (= 3√3469)
Digit sum / digital root9 / 9
Collatz steps to 1178
Scientific notation3.1221 × 10410^{4}

31221 in other forms

FormValue
In wordsthirty-one thousand two hundred and twenty-one
Binary (base 2)111100111110101
Octal (base 8)74765
Hexadecimal (base 16)79F5
Base 31120211100
As time31221 seconds = 8 h 40 min 21 s

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

Questions

Is 31221 a prime number?

No. 31221 = 323^{2} × 3469, so it is divisible by 3.

What are the factors of 31221?

1, 3, 9, 3469, 10407, 31221.

What is 31221 in binary?

111100111110101 (hexadecimal 79F5, octal 74765).

What is the square root of 31221?

About 176.6947, exactly 3√3469.

Is 31221 divisible by 3?

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

What is special about the number 31221?

31221 is a happy number: repeatedly adding the squares of its digits reaches 1; a Harshad number: divisible by its digit sum 9.

Find the next one

Nearby numbers

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