Number
5
- Positive
- Odd
- Prime
- 1 digit
5 is an odd 1-digit integer and a prime number. It has 2 divisors and a digital root of 5.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value5
Digit count1
Digit sum5
Digital root5repeated digit sum
PalindromicYesreads the same backwards
Fibonacci numberYes, F(5)
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum
Armstrong numberYesdigits raised to the digit count sum to itself
Factors & divisors
Prime factorisation5
Distinct prime factors15
Number of divisors2
Sum of divisors σ(n)6
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)4integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 52 in total
Arithmetic
Representations
Decimal5
Binary1013 bits
Octal5
Hexadecimal5
Base 365
Roman numeralV
In wordsfive
Ordinalfifth
Scientific notation5 × 10^0
Engineering notation5
Nearest landmarks
Powers & multiples
5 to the power 225
5 to the power 3125
5 to the power 4625
5 to the power 53,125
First ten multiples5, 10, 15, 20, 25, 30, 35, 40, 45, 50
Powers of twoBetween 2^2 (4) and 2^3 (8)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5Yes
Divisible by 6No, remainder 5
Divisible by 7No, remainder 5
Divisible by 8No, remainder 5
Divisible by 9No, remainder 5
Divisible by 10No, remainder 5
Divisible by 11No, remainder 5
Divisible by 12No, remainder 5
Divisible by 100No, remainder 5
Collatz (3n + 1) trajectory
Steps to reach 15the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage500%
5% as a decimal0.05
5% of 1005
5% of 1,00050
As a fraction of 1005/100
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 5
Other readings
Also reads as
U+0035 (unicode character)
- U+0035
- 5
- Decimal digit
U+0035 is code point 53 (5), a decimal digit in the Basic Latin (ASCII) block of the Basic Multilingual Plane. It takes 1 byte in UTF-8 and 1 unit in UTF-16.
Identity
Code pointU+0035
Decimal53
Character5
General categoryDecimal digit
BlockBasic Latin (ASCII)
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none
Encodings
UTF-8351 byte
UTF-160035a single unit
UTF-3200000035
Binary110101
Bytes in UTF-8 vs UTF-161 vs 2UTF-16 is not always smaller, even for non-Latin text
Writing it in code
HTML numeric entity5
HTML hex entity5
CSS escape\0035
JavaScript\u0035
Python\u0035
Percent-encoded (URL)%35
Things that catch people out
JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedYes
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page