Nerdulator> put something in

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

Previous number5
Next number7
Double12
Half3
Square36
Cube216
Square root2.449489743irrational, shown to 9 decimal places
Cube root1.817120593
Negation-6
Reciprocal0.1666666667
6 factorial720

Representations

Decimal6
Binary1103 bits
Octal6
Hexadecimal6
Base 366
Roman numeralVI
In wordssix
Ordinalsixth
Scientific notation6 × 10^0
Engineering notation6

Nearest landmarks

Next prime7+1
Previous prime5−1
Distance to nearest prime1
Nearest square below4
Nearest square above9

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
Highest value reached162× the starting value
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

Read another way

As seconds6 seconds
As bytes6 B
As a 24-bit colour#000006

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Neighbouring numbers

Nearby primes

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.

Open this reading on its own page →

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.

Nearby code points

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “6” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.