Number
8
- Positive
- Even
- Composite
- Perfect cube
- 1 digit
8 is an even 1-digit integer and a composite number. It has 4 divisors and a digital root of 8.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value8
Digit count1
Digit sum8
Digital root8repeated digit sum
PalindromicYesreads the same backwards
Perfect cubeYes, 2³
Fibonacci numberYes, F(6)
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 factorisation2^3
Distinct prime factors12
Number of divisors4
Sum of divisors σ(n)15
Aliquot sum7sum 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
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 84 in total
Arithmetic
Representations
Decimal8
Binary10004 bits
Octal10
Hexadecimal8
Base 368
Roman numeralVIII
In wordseight
Ordinaleighth
Scientific notation8 × 10^0
Engineering notation8
Nearest landmarks
Powers & multiples
8 to the power 264
8 to the power 3512
8 to the power 44,096
8 to the power 532,768
First ten multiples8, 16, 24, 32, 40, 48, 56, 64, 72, 80
Powers of twoExactly 2^3
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4Yes
Divisible by 5No, remainder 3
Divisible by 6No, remainder 2
Divisible by 7No, remainder 1
Divisible by 8Yes
Divisible by 9No, remainder 8
Divisible by 10No, remainder 8
Divisible by 11No, remainder 8
Divisible by 12No, remainder 8
Divisible by 100No, remainder 8
Collatz (3n + 1) trajectory
Steps to reach 13the total stopping time
Highest value reached8
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps8 → 4 → 2 → 1
As a percentage & fraction
As a percentage800%
8% as a decimal0.08
8% of 1008
8% of 1,00080
As a fraction of 1008/100
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 8
Other readings
Also reads as
U+0038 (unicode character)
- U+0038
- 8
- Decimal digit
U+0038 is code point 56 (8), 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+0038
Decimal56
Character8
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-8381 byte
UTF-160038a single unit
UTF-3200000038
Binary111000
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 entity8
HTML hex entity8
CSS escape\0038
JavaScript\u0038
Python\u0038
Percent-encoded (URL)%38
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