Number 684

Even Composite Positive

six hundred and eighty-four

« 683 685 »

Basic Properties

Value684
In Wordssix hundred and eighty-four
Absolute Value684
SignPositive (+)
Is EvenYes
Is OddNo
Is PrimeNo
Is CompositeYes
Is Perfect SquareNo
Is Perfect CubeNo
Is Power of 2No
Roman NumeralDCLXXXIV
Square (n²)467856
Cube (n³)320013504
Reciprocal (1/n)0.001461988304

Factors & Divisors

Factors 1 2 3 4 6 9 12 18 19 36 38 57 76 114 171 228 342 684
Number of Divisors18
Sum of Proper Divisors1136
Prime Factorization 2 × 2 × 3 × 3 × 19
Is Perfect NumberNo
Is AbundantYes
Is DeficientNo

Number Theory

Digit Sum18
Digital Root9
Number of Digits3
Is PalindromeNo
Is Armstrong NumberNo
Is Harshad NumberYes
Is Fibonacci NumberNo
Collatz Steps to 1126
Goldbach Partition 7 + 677
Next Prime 691
Previous Prime 683

Trigonometric Functions

sin(684)-0.7625194472
cos(684)0.6469652948
tan(684)-1.178609507
arctan(684)1.56933434
sinh(684)5.706839074E+296
cosh(684)5.706839074E+296
tanh(684)1

Roots & Logarithms

Square Root26.15339366
Cube Root8.810868115
Natural Logarithm (ln)6.527957918
Log Base 102.835056102
Log Base 29.417852515

Number Base Conversions

Binary (Base 2)1010101100
Octal (Base 8)1254
Hexadecimal (Base 16)2AC
Base64Njg0

Cryptographic Hashes

MD5556f391937dfd4398cbac35e050a2177
SHA-1a79e9a409bded1928e5dad9765d53e7bce91d555
SHA-25610ba045e9ee40807e57f6093280b9fa9eaf640ba4955e340ae4c749382ad96fc
SHA-512e67e1dd2b33addd47ed13e055211ed0ae1e9d3a764d78888c61be574b8c0aaf714b774b5f7c884ab72e51096eb7d1bdc8c42cb8100eefb15c02b63708026fc91

Initialize 684 in Different Programming Languages

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

Fun Facts about 684

  • The number 684 is six hundred and eighty-four.
  • 684 is an even number.
  • 684 is a composite number with 18 divisors.
  • 684 is a Harshad number — it is divisible by the sum of its digits (18).
  • 684 is an abundant number — the sum of its proper divisors (1136) exceeds it.
  • The digit sum of 684 is 18, and its digital root is 9.
  • The prime factorization of 684 is 2 × 2 × 3 × 3 × 19.
  • Starting from 684, the Collatz sequence reaches 1 in 126 steps.
  • 684 can be expressed as the sum of two primes: 7 + 677 (Goldbach's conjecture).
  • In Roman numerals, 684 is written as DCLXXXIV.
  • In binary, 684 is 1010101100.
  • In hexadecimal, 684 is 2AC.

About the Number 684

Overview

The number 684, spelled out as six hundred and eighty-four, is an even 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 684 — from its divisibility and prime factorization to its trigonometric values, binary representation, and cryptographic hashes.

Parity and Sign

The number 684 is even, which means it is exactly divisible by 2 with no remainder. Even numbers play a fundamental role in mathematics — they form one of the two basic parity classes and appear in many divisibility rules, algebraic identities, and combinatorial arguments.As a positive number, 684 lies to the right of zero on the number line. Its absolute value is 684.

Primality and Factorization

684 is a composite number, meaning it has divisors other than 1 and itself. Specifically, 684 has 18 divisors: 1, 2, 3, 4, 6, 9, 12, 18, 19, 36, 38, 57, 76, 114, 171, 228, 342, 684. The sum of its proper divisors (all divisors except 684 itself) is 1136, which makes 684 an abundant number, since 1136 > 684. Abundant numbers are integers where the sum of proper divisors exceeds the number.

The prime factorization of 684 is 2 × 2 × 3 × 3 × 19. 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 684 are 683 and 691.

Special Classifications

Beyond basic primality, number theorists have identified many special categories that a number can belong to. 684 is a Harshad number (from Sanskrit “joy-giver”) — it is divisible by the sum of its digits (18). Harshad numbers connect divisibility theory with digit-based properties of integers.

Digit Properties

The digits of 684 sum to 18, and its digital root (the single-digit value obtained by repeatedly summing digits) is 9. The number 684 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, 684 is represented as 1010101100. 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), 684 is 1254, a system historically used in computing because each octal digit corresponds to exactly three binary digits. In hexadecimal (base-16), 684 is 2AC — hex is ubiquitous in programming for representing memory addresses, color codes (#FF5733), and byte values.

The Base64 encoding of the string “684” is Njg0. 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 684 is 467856 (i.e. 684²), and its square root is approximately 26.153394. The cube of 684 is 320013504, and its cube root is approximately 8.810868. The reciprocal (1/684) is 0.001461988304.

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

Trigonometry

Treating 684 as an angle in radians, the principal trigonometric functions yield: sin(684) = -0.7625194472, cos(684) = 0.6469652948, and tan(684) = -1.178609507. The hyperbolic functions give: sinh(684) = 5.706839074E+296, cosh(684) = 5.706839074E+296, and tanh(684) = 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 “684” is passed through standard cryptographic hash functions, the results are: MD5: 556f391937dfd4398cbac35e050a2177, SHA-1: a79e9a409bded1928e5dad9765d53e7bce91d555, SHA-256: 10ba045e9ee40807e57f6093280b9fa9eaf640ba4955e340ae4c749382ad96fc, and SHA-512: e67e1dd2b33addd47ed13e055211ed0ae1e9d3a764d78888c61be574b8c0aaf714b774b5f7c884ab72e51096eb7d1bdc8c42cb8100eefb15c02b63708026fc91. 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 684 and repeatedly applying the rule — divide by 2 if even, multiply by 3 and add 1 if odd — the sequence reaches 1 in 126 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.

Goldbach’s Conjecture

According to Goldbach’s conjecture, every even integer greater than 2 can be expressed as the sum of two prime numbers. For 684, one such partition is 7 + 677 = 684. This conjecture, proposed in 1742 by Christian Goldbach in a letter to Leonhard Euler, has been verified computationally for all even numbers up to at least 4 × 1018, but a general proof remains elusive.

Roman Numerals

In the Roman numeral system, 684 is written as DCLXXXIV. 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 684 can be represented across dozens of programming languages. For example, in C# you would write int number = 684;, in Python simply number = 684, in JavaScript as const number = 684;, and in Rust as let number: i32 = 684;. 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