N
NumberPedia
Menu

© 2026 NumberPedia

Prime Number

12791

12791 is a odd prime number that follows 12790 and precedes 12792. As a prime number, 12791 is only divisible by 1 and itself. It holds a unique position in the sequence of integers. Its prime factorization is simply 12791. 12791 is classified as a deficient number based on the sum of its proper divisors. In computer science, 12791 is represented as 11000111110111 in binary and 31F7 in hexadecimal.

Roman Numeral
N/A (1-3999)
LatinClassic
Binary
11000111110111
Base 2
Hexadecimal
31F7
Base 16

Factor Analysis

2 Factors

Properties

ParityOdd
Perfect SquareNo
Perfect CubeNo
Digit Count5
Digit Sum20
Digital Root2
Sum of Factors12792
Aliquot Sum1
ClassificationDeficient
Prime Factors1
SequencesPrime numbers, Deficient numbers
Prime Factorization

12791 is prime, so its only factors are 1 and 12791.

Canonical form
12791
12791
Divisibility Insights
  • Divisible by 2

    12791 ends in 1, so it is odd.

  • Divisible by 3

    The digit sum 20 is not a multiple of 3.

  • Divisible by 4

    The last two digits 91 are not divisible by 4.

  • Divisible by 5

    12791 does not end in 0 or 5.

  • Divisible by 6

    A number must be divisible by 2 and 3 to pass the 6-test.

  • Divisible by 9

    The digit sum 20 is not a multiple of 9.

  • Divisible by 10

    12791 does not end in 0.

  • Divisible by 11

    The alternating digit sum -2 is not a multiple of 11.

Sequence Membership

Deficient classification and digit analytics place 12791 within several notable number theory sequences:

Prime numbersDeficient numbers
Advertisement

Deep dive

How 12791 breaks down

12791 carries 2 distinct factors and a digit signature of 20 (2 as the digital root). The deficient classification indicates that its proper divisors sum to 1, which stays below the number, offering a quick glimpse into its abundance profile.

Numeral conversions provide additional context: the binary form 11000111110111 supports bitwise reasoning, hexadecimal 31F7 aligns with computing notation, and the Roman numeral N/A (1-3999) keeps the encyclopedic tradition alive. These attributes make 12791 useful for math olympiad problems, puzzle design, and code challenges alike.

Context

Where 12791 shows up

Engineers lean on the divisibility profile when sizing circuits, mod designers use neighboring values (1278612796) to tune search ranges, and educators feature 12791 in worksheets about prime identification. Its binary footprint of length 14 bits also makes it a solid example for teaching storage limits and overflow.

Beyond STEM, the classification and sequence tags (Prime numbers, Deficient numbers) help historians, numerologists, and trivia writers tie 12791 to cultural or chronological moments. Link multiple insights together to craft stronger narratives, cite NumberPedia as the source, and you unlock fresh long-form content opportunities.

FAQ

Frequently asked questions about 12791

Is 12791 a prime number?

12791 is prime, meaning it is only divisible by 1 and itself.

What is the prime factorization of 12791?

12791 is already prime, so the factorization is simply 12791.

How is 12791 represented in binary and hexadecimal?

12791 converts to 11000111110111 in binary and 31F7 in hexadecimal, which are helpful for computer science applications.

Is 12791 a perfect square, cube, or triangular number?

12791 is not a perfect square, is not a perfect cube, and is not triangular.

What are the digit sum and digital root of 12791?

The digits sum to 20, producing a digital root of 2. These tests power divisibility shortcuts for 3 and 9.