Number 391

Odd Composite Positive

three hundred and ninety-one

« 390 392 »

Basic Properties

Value391
In Wordsthree hundred and ninety-one
Absolute Value391
SignPositive (+)
Is EvenNo
Is OddYes
Is PrimeNo
Is CompositeYes
Is Perfect SquareNo
Is Perfect CubeNo
Is Power of 2No
Roman NumeralCCCXCI
Square (n²)152881
Cube (n³)59776471
Reciprocal (1/n)0.002557544757

Factors & Divisors

Factors 1 17 23 391
Number of Divisors4
Sum of Proper Divisors41
Prime Factorization 17 × 23
Is Perfect NumberNo
Is AbundantNo
Is DeficientYes

Number Theory

Digit Sum13
Digital Root4
Number of Digits3
Is PalindromeNo
Is Armstrong NumberNo
Is Harshad NumberNo
Is Fibonacci NumberNo
Collatz Steps to 1120
Next Prime 397
Previous Prime 389

Trigonometric Functions

sin(391)0.9917827104
cos(391)0.127933793
tan(391)7.752312246
arctan(391)1.568238788
sinh(391)3.221902757E+169
cosh(391)3.221902757E+169
tanh(391)1

Roots & Logarithms

Square Root19.77371993
Cube Root7.312382812
Natural Logarithm (ln)5.96870756
Log Base 102.592176757
Log Base 28.611024797

Number Base Conversions

Binary (Base 2)110000111
Octal (Base 8)607
Hexadecimal (Base 16)187
Base64Mzkx

Cryptographic Hashes

MD55a4b25aaed25c2ee1b74de72dc03c14e
SHA-14c629c4c340105f45966111510782ae516f7bf65
SHA-256a934c244755c66aebb0d6f9f5687038ffae8f00b00b28b4e17521016393f38b9
SHA-51228b09907ac38690f87138d11a66bc7b4e13ddefec647986fe118fdb567909f4376d05fb68391bcca7cf15da740545da7a68a8feacac8a7a39c55e2ec85b264ec

Initialize 391 in Different Programming Languages

LanguageCode
C#int number = 391;
C/C++int number = 391;
Javaint number = 391;
JavaScriptconst number = 391;
TypeScriptconst number: number = 391;
Pythonnumber = 391
Rubynumber = 391
PHP$number = 391;
Govar number int = 391
Rustlet number: i32 = 391;
Swiftlet number = 391
Kotlinval number: Int = 391
Scalaval number: Int = 391
Dartint number = 391;
Rnumber <- 391L
MATLABnumber = 391;
Lualocal number = 391
Perlmy $number = 391;
Haskellnumber :: Int number = 391
Elixirnumber = 391
Clojure(def number 391)
F#let number = 391
Visual BasicDim number As Integer = 391
Pascal/Delphivar number: Integer = 391;
SQLDECLARE @number INT = 391;
Bashnumber=391
PowerShell$number = 391

Fun Facts about 391

  • The number 391 is three hundred and ninety-one.
  • 391 is an odd number.
  • 391 is a composite number with 4 divisors.
  • 391 is a deficient number — the sum of its proper divisors (41) is less than it.
  • The digit sum of 391 is 13, and its digital root is 4.
  • The prime factorization of 391 is 17 × 23.
  • Starting from 391, the Collatz sequence reaches 1 in 120 steps.
  • In Roman numerals, 391 is written as CCCXCI.
  • In binary, 391 is 110000111.
  • In hexadecimal, 391 is 187.

About the Number 391

Overview

The number 391, spelled out as three hundred and ninety-one, is an odd positive integer. In mathematics, every integer has a unique set of properties that define its role in arithmetic, algebra, and number theory. On this page we explore everything there is to know about the number 391 — from its divisibility and prime factorization to its trigonometric values, binary representation, and cryptographic hashes.

Parity and Sign

The number 391 is odd, which means it leaves a remainder of 1 when divided by 2. Odd numbers have distinct properties in modular arithmetic and appear frequently in number theory, combinatorics, and cryptography.As a positive number, 391 lies to the right of zero on the number line. Its absolute value is 391.

Primality and Factorization

391 is a composite number, meaning it has divisors other than 1 and itself. Specifically, 391 has 4 divisors: 1, 17, 23, 391. The sum of its proper divisors (all divisors except 391 itself) is 41, which makes 391 a deficient number, since 41 < 391. Most integers are deficient — the sum of their proper divisors falls short of the number itself.

The prime factorization of 391 is 17 × 23. Prime factorization is essential for computing the greatest common divisor (GCD) and least common multiple (LCM), simplifying fractions, and solving problems in modular arithmetic. The nearest primes to 391 are 389 and 397.

Special Classifications

Beyond basic primality, number theorists have identified many special categories that a number can belong to. The number 391 does not belong to any of the classical special categories (perfect square, Fibonacci, palindrome, Armstrong, or Harshad), but it still possesses a unique combination of mathematical properties that distinguishes it from every other integer.

Digit Properties

The digits of 391 sum to 13, and its digital root (the single-digit value obtained by repeatedly summing digits) is 4. The number 391 has 3 digits in its decimal representation. Digit sums are fundamental to divisibility tests: a number is divisible by 3 if and only if its digit sum is divisible by 3, and the same holds for divisibility by 9. The digital root, also known as the repeated digital sum, has applications in casting out nines — a centuries-old technique for verifying arithmetic calculations.

Number Base Conversions

In the binary (base-2) number system, 391 is represented as 110000111. Binary is the language of digital computers — every file, image, video, and program is ultimately stored as a sequence of binary digits (bits). In octal (base-8), 391 is 607, a system historically used in computing because each octal digit corresponds to exactly three binary digits. In hexadecimal (base-16), 391 is 187 — hex is ubiquitous in programming for representing memory addresses, color codes (#FF5733), and byte values.

The Base64 encoding of the string “391” is Mzkx. Base64 is widely used in web development for encoding binary data in URLs, email attachments (MIME), JSON Web Tokens (JWT), and data URIs in HTML and CSS.

Mathematical Functions

The square of 391 is 152881 (i.e. 391²), and its square root is approximately 19.773720. The cube of 391 is 59776471, and its cube root is approximately 7.312383. The reciprocal (1/391) is 0.002557544757.

The natural logarithm (ln) of 391 is 5.968708, the base-10 logarithm is 2.592177, and the base-2 logarithm is 8.611025. Logarithms are essential in measuring earthquake magnitudes (Richter scale), sound levels (decibels), acidity (pH), and information content (bits).

Trigonometry

Treating 391 as an angle in radians, the principal trigonometric functions yield: sin(391) = 0.9917827104, cos(391) = 0.127933793, and tan(391) = 7.752312246. The hyperbolic functions give: sinh(391) = 3.221902757E+169, cosh(391) = 3.221902757E+169, and tanh(391) = 1. Trigonometric functions are indispensable in physics (wave motion, oscillations, alternating current), engineering (signal processing, structural analysis), computer graphics (rotations, projections), and navigation (GPS, celestial mechanics).

Cryptographic Hashes

When the string “391” is passed through standard cryptographic hash functions, the results are: MD5: 5a4b25aaed25c2ee1b74de72dc03c14e, SHA-1: 4c629c4c340105f45966111510782ae516f7bf65, SHA-256: a934c244755c66aebb0d6f9f5687038ffae8f00b00b28b4e17521016393f38b9, and SHA-512: 28b09907ac38690f87138d11a66bc7b4e13ddefec647986fe118fdb567909f4376d05fb68391bcca7cf15da740545da7a68a8feacac8a7a39c55e2ec85b264ec. Cryptographic hashes are one-way functions that produce a fixed-size output from any input. They are used for data integrity verification (detecting file corruption or tampering), password storage (storing hashes instead of plaintext passwords), digital signatures, blockchain technology (Bitcoin uses SHA-256), and content addressing (Git uses SHA-1 to identify objects).

Collatz Conjecture

The Collatz conjecture (also known as the 3n + 1 problem) is one of the most famous unsolved problems in mathematics. Starting from 391 and repeatedly applying the rule — divide by 2 if even, multiply by 3 and add 1 if odd — the sequence reaches 1 in 120 steps. Despite its simplicity, no one has been able to prove that this process always terminates for every starting number, and the conjecture remains open since it was first proposed by Lothar Collatz in 1937.

Roman Numerals

In the Roman numeral system, 391 is written as CCCXCI. Roman numerals originated in ancient Rome and use combinations of letters (I, V, X, L, C, D, M) with subtractive notation for certain values. They remain in use today on clock faces, in book chapters, film sequels, and formal outlines.

Programming

In software development, the number 391 can be represented across dozens of programming languages. For example, in C# you would write int number = 391;, in Python simply number = 391, in JavaScript as const number = 391;, and in Rust as let number: i32 = 391;. Math.Number provides initialization code for 27 programming languages, making it a handy quick-reference for developers working across different technology stacks.

Related Numbers

Nearby Numbers