Number
6
- Positive
- Even
- Composite
- Perfect number
- 1 digit
6 is an even 1-digit integer and a composite number. It has 4 divisors and a digital root of 6.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value6
Digit count1
Digit sum6
Digital root6repeated digit sum
PalindromicYesreads the same backwards
Triangular numberYes, the 3rd triangular number
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 factors22, 3
Number of divisors4
Sum of divisors σ(n)12
Aliquot sum6sum of the proper divisors
ClassificationPerfectthe aliquot sum equals the number
Euler's totient φ(n)2integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 64 in total
Arithmetic
Representations
Decimal6
Binary1103 bits
Octal6
Hexadecimal6
Base 366
Roman numeralVI
In wordssix
Ordinalsixth
Scientific notation6 × 10^0
Engineering notation6
Nearest landmarks
Powers & multiples
6 to the power 236
6 to the power 3216
6 to the power 41,296
6 to the power 57,776
First ten multiples6, 12, 18, 24, 30, 36, 42, 48, 54, 60
Powers of twoBetween 2^2 (4) and 2^3 (8)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5No, remainder 1
Divisible by 6Yes
Divisible by 7No, remainder 6
Divisible by 8No, remainder 6
Divisible by 9No, remainder 6
Divisible by 10No, remainder 6
Divisible by 11No, remainder 6
Divisible by 12No, remainder 6
Divisible by 100No, remainder 6
Collatz (3n + 1) trajectory
Steps to reach 18the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps6 → 3 → 10 → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage600%
6% as a decimal0.06
6% of 1006
6% of 1,00060
As a fraction of 1006/100
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 6
Other readings
Also reads as
U+0036 (unicode character)
- U+0036
- 6
- Decimal digit
U+0036 is code point 54 (6), 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+0036
Decimal54
Character6
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-8361 byte
UTF-160036a single unit
UTF-3200000036
Binary110110
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 entity6
HTML hex entity6
CSS escape\0036
JavaScript\u0036
Python\u0036
Percent-encoded (URL)%36
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