Is 1,021 a prime number?

Yes, 1,021 is a prime number: its only factors are 1 and 1,021. It is the 172nd prime. In words it is one thousand twenty-one, and in Roman numerals MXXI.

One thousand twenty-one
1,021 is a prime number
MXXIRoman numeral
primetype
oddparity
2divisors
1111111101binary
4digit sum

All facts about 1,021 →

Is 1,021 a prime number? Yes

1,021 has exactly two divisors, 1 and itself. To confirm it, it is enough to test the primes up to √1,021 ≈ 31.953: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31 — none divides 1,021 evenly.

172ndprime number
1,019previous prime (gap 2)
1,031next prime (gap 10)

How to write 1,021 in words

One thousand twenty-one

StyleWritten
Cardinal (US)one thousand twenty-one
Ordinalone thousand twenty-first (1021st)
On a checkOne thousand twenty-one and 00/100 dollars
With commas1,021

In US English there is no “and” after “hundred” (one thousand twenty-one); British English adds it (one thousand twenty-one).

1,021 in Roman numerals

1,021 = MXXI

Break 1,021 into place values and write each one: 1,000 = M, 20 = XX, 1 = I. Joined: MXXI.

Properties of 1,021

PropertyValue
Parityodd
Number of digits4
Digit sum4
Digital root4
Reversed1201
Perfect square?no
Perfect cube?no
Triangular number?no
Fibonacci number?no
Classificationdeficient

Square root, square and cube of 1,021

OperationResult
√1,02131.953 (between 31 and 32)
∛1,02110.07
1,021²1,042,441
1,021³1,064,332,261
1 ÷ 1,0210.0009794319295

1,021 in binary, octal and hexadecimal

Base1,021 is written
Binary (2)11 1111 1101 (10 bits)
Ternary (3)1101211
Octal (8)1775
Duodecimal (12)711
Hexadecimal (16)3FD
Base 36SD

Convert 1,021 to any base

Collatz sequence of 1,021

Halve if even, triple and add 1 if odd: starting from 1,021 it takes 49 steps to reach 1, peaking at 13,120. First steps: 1,021 → 3,064 → 1,532 → 766 → 383 → 1,150 → 575 → 1,726 → 863 → 2,590 → …

Multiplication table of 1,021

1,021 ×Result
1,021 × 11,021
1,021 × 22,042
1,021 × 33,063
1,021 × 44,084
1,021 × 55,105
1,021 × 66,126
1,021 × 77,147
1,021 × 88,168
1,021 × 99,189
1,021 × 1010,210
1,021 × 1111,231
1,021 × 1212,252

Nearby numbers

Frequently asked questions

Is 1,021 a prime number?
Yes. 1,021 is only divisible by 1 and itself.
How do you write 1,021 in words?
One thousand twenty-one.
What is 1,021 in Roman numerals?
MXXI.