Recognised as Number
104
- Positive
- Even
- Composite
- 3 digits
104 is an even 3-digit integer and a composite number. It has 8 divisors and a digital root of 5.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value104
Digit count3
Digit sum5
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2^3 × 13
Distinct prime factors22, 13
Number of divisors8
Sum of divisors σ(n)210
Aliquot sum106sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)48integers below n that share no factor with it
Carmichael function λ(n)12the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 48
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 8, 13, 26, 52, 1048 in total
Arithmetic
Representations
Decimal104
Binary11010007 bits
Octal150
Hexadecimal68
Base 362W
Roman numeralCIV
In wordsone hundred and four
Ordinalone hundred and fourth
Scientific notation1.04 × 10^2
Engineering notation104
In other bases
Ternary10212base 3; the most digit-efficient integer base after e — 5 digits
Quinary404base 5; one hand — 3 digits
Septenary206base 7 — 3 digits
Nonary125base 9; each digit is two ternary digits — 3 digits
Duodecimal88base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves — 2 digits
Vigesimal54base 20; hands and feet, and the Mayan and Yoruba systems — 2 digits
Sexagesimal1:44base 60; Babylonian, and still how an hour and a circle are divided — 2 digits
Balanced ternary110TTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110111000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
01101000
Bit length7 bitsto write the magnitude
Set bits3the population count, or Hamming weight
Zero bits4within that length
Bit parityodd3 set bits, so odd; not the same as the number itself being even
Highest set bitbit 6worth 64
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes168
Gray code1011100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
8-bit01101000
16-bit0000000001101000
32-bit00000000000000000000000001101000
64-bit0000000000000000000000000000000000000000000000000000000001101000
One's complement10010111at 8 bits, every bit flipped
Bits reversed00010110at 8 bits
Rotated left by 111010000at 8 bits, wrapping
Shifted left by 111010000= 208, no wrap
Shifted right by 1110100= 52, discarding the low bit
These bits as a double5.13828272 × 10^-322≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
104 to the power 210,816
104 to the power 31,124,864
104 to the power 4116,985,856
104 to the power 512,166,529,024
First ten multiples104, 208, 312, 416, 520, 624, 728, 832, 936, 1,040
Powers of twoBetween 2^6 (64) and 2^7 (128)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4Yes
Divisible by 5No, remainder 4
Divisible by 6No, remainder 2
Divisible by 7No, remainder 6
Divisible by 8Yes
Divisible by 9No, remainder 5
Divisible by 10No, remainder 4
Divisible by 11No, remainder 5
Divisible by 12No, remainder 8
Divisible by 100No, remainder 4
Collatz (3n + 1) trajectory
Steps to reach 112the total stopping time
Highest value reached104
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps104 → 52 → 26 → 13 → 40 → 20 → 10 → 5 → 16 → 8 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage10,400%
104% as a decimal1.04
104% of 100104
104% of 1,0001,040
As a fraction of 100104/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 104
Other readings
Also reads as
#110044 (colour)
- #110044
- Violet
- Dark
- Nearest: Midnight blue
#110044 is a violet with RGB values 17, 0, 68 and HSL 255°, 100%, 13%. It is a dark colour, so white text on it reaches 19:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#110044#110044
HEX#110044
HEX (short)#104
RGBrgb(17, 0, 68)
RGB (0–1)0.0667, 0, 0.2667
RGB percentages6.7%, 0%, 26.7%
HSLhsl(255, 100%, 13.3%)
HSV / HSBhsv(255, 100%, 26.7%)
CMYK75%, 100%, 0%, 73.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,114,180
CSS custom property--colour: #110044;
Brightness & contrast
Relative luminance0.00537WCAG 2.x, 0 is black and 1 is white
Perceived brightness24.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.96:1
Contrast with white18.96:1WCAG normal text: AAA
Contrast with black1.11:1WCAG normal text: Fail
Greyscale equivalent#090909
Inverted#EEFFBB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.96:1WCAG large text: AAA
Contrast with black, large text1.11:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#334400
Analogous#001144, #330044
Triadic#441100, #004411
Split complementary#443300, #114400
Tetradic#440011, #334400, #004433
Tints, shades & saturation
Channel breakdown
R17
G0
B68
Red17 (6.7%)
Green0 (0%)
Blue68 (26.7%)
Hue255°
Saturation (HSL)100%
Lightness13.33%
Dominant channelBlue
Hex per channelR 11 · G 00 · B 44
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page