Is 23 a prime number?

Yes, 23 is a prime number: its only factors are 1 and 23. It is the 9th prime. In words it is twenty-three, and in Roman numerals XXIII.

Twenty-three
23 is a prime number
XXIIIRoman numeral
primetype
oddparity
2divisors
10111binary
5digit sum

All facts about 23 →

Is 23 a prime number? Yes

23 has exactly two divisors, 1 and itself. To confirm it, it is enough to test the primes up to √23 ≈ 4.796: 2, 3 — none divides 23 evenly.

9thprime number
19previous prime (gap 4)
29next prime (gap 6)

How to write 23 in words

Twenty-three

StyleWritten
Cardinal (US)twenty-three
Ordinaltwenty-third (23rd)
On a checkTwenty-three and 00/100 dollars

23 in Roman numerals

23 = XXIII

Break 23 into place values and write each one: 20 = XX, 3 = III. Joined: XXIII.

Properties of 23

PropertyValue
Parityodd
Number of digits2
Digit sum5
Digital root5
Reversed32
Perfect square?no
Perfect cube?no
Triangular number?no
Fibonacci number?no
Classificationdeficient

Square root, square and cube of 23

OperationResult
√234.796 (between 4 and 5)
∛232.844
23²529
23³12,167
1 ÷ 230.04347826087

23 in binary, octal and hexadecimal

Base23 is written
Binary (2)1 0111 (5 bits)
Ternary (3)212
Octal (8)27
Duodecimal (12)1B
Hexadecimal (16)17
Base 36N

Convert 23 to any base

Collatz sequence of 23

Halve if even, triple and add 1 if odd: starting from 23 it takes 15 steps to reach 1, peaking at 160. Sequence: 23 → 70 → 35 → 106 → 53 → 160 → 80 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1.

Multiplication table of 23

23 ×Result
23 × 123
23 × 246
23 × 369
23 × 492
23 × 5115
23 × 6138
23 × 7161
23 × 8184
23 × 9207
23 × 10230
23 × 11253
23 × 12276

Nearby numbers

Frequently asked questions

Is 23 a prime number?
Yes. 23 is only divisible by 1 and itself.
How do you write 23 in words?
Twenty-three.
What is 23 in Roman numerals?
XXIII.