Recognised as Number
788
- Positive
- Even
- Composite
- 3 digits
788 is an even 3-digit integer and a composite number. It has 6 divisors and a digital root of 5.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value788
Digit count3
Digit sum23
Digit product448
Multiplicative persistence4times 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^2 × 197
Distinct prime factors22, 197
Number of divisors6
Sum of divisors σ(n)1,386
Aliquot sum598sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)392integers below n that share no factor with it
Carmichael function λ(n)196the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 392
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 197, 394, 7886 in total
Arithmetic
Representations
Decimal788
Binary110001010010 bits
Octal1424
Hexadecimal314
Base 36LW
Roman numeralDCCLXXXVIII
In wordsseven hundred and eighty-eight
Ordinalseven hundred and eighty-eighth
Scientific notation7.88 × 10^2
Engineering notation788
In other bases
Ternary1002012base 3; the most digit-efficient integer base after e: 7 digits
Quinary11123base 5; one hand: 5 digits
Septenary2204base 7: 4 digits
Nonary1065base 9; each digit is two ternary digits: 4 digits
Duodecimal558base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimal1j8base 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal13:8base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary101T1TTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary11100010100base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
0000001100010100
Bit length10 bitsto write the magnitude
Set bits4the population count, or Hamming weight
Zero bits6within that length
Bit parityeven4 set bits, so even; not the same as the number itself being even
Highest set bitbit 9worth 512
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes203 14
Gray code1010011110n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit0000001100010100
32-bit00000000000000000000001100010100
64-bit0000000000000000000000000000000000000000000000000000001100010100
One's complement1111110011101011at 16 bits, every bit flipped
Bits reversed0010100011000000at 16 bits
Rotated left by 10000011000101000at 16 bits, wrapping
Shifted left by 111000101000= 1,576, no wrap
Shifted right by 1110001010= 394, discarding the low bit
These bits as a double3.89323729 × 10^-321≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
788 to the power 2620,944
788 to the power 3489,303,872
788 to the power 4385,571,451,136
788 to the power 5303,830,303,495,168
First ten multiples788, 1,576, 2,364, 3,152, 3,940, 4,728, 5,516, 6,304, 7,092, 7,880
Powers of twoBetween 2^9 (512) and 2^10 (1,024)
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 4
Divisible by 8No, remainder 4
Divisible by 9No, remainder 5
Divisible by 10No, remainder 8
Divisible by 11No, remainder 7
Divisible by 12No, remainder 8
Divisible by 100No, remainder 88
Collatz (3n + 1) trajectory
Steps to reach 128the total stopping time
Highest value reached788
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps788 → 394 → 197 → 592 → 296 → 148 → 74 → 37 → 112 → 56 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage78,800%
788% as a decimal7.88
788% of 100788
788% of 1,0007,880
As a fraction of 100788/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 788
Other readings
Also reads as
#778888 (colour)
- #778888
- Grey
- Dark
- Nearest: Gray
#778888 is a grey with RGB values 119, 136, 136 and HSL 180°, 7%, 50%. It is a dark colour, so black text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Gray.
Colour values
#778888#778888
HEX#778888
HEX (short)#788
RGBrgb(119, 136, 136)
RGB (0–1)0.4667, 0.5333, 0.5333
RGB percentages46.7%, 53.3%, 53.3%
HSLhsl(180, 6.7%, 50%)
HSV / HSBhsv(180, 12.5%, 53.3%)
CMYK12.5%, 0%, 0%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer7,833,736
CSS custom property--colour: #778888;
Brightness & contrast
Relative luminance0.23308WCAG 2.x, 0 is black and 1 is white
Perceived brightness131.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.66:1
Contrast with white3.71:1WCAG normal text: Fail
Contrast with black5.66:1WCAG normal text: AA
Greyscale equivalent#848484
Inverted#887777
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.71:1WCAG large text: AA
Contrast with black, large text5.66:1WCAG large text: AAA
Named colours
Hue familygrey
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#887777
Analogous#778880, #778088
Triadic#887788, #888877
Split complementary#887780, #888077
Tetradic#807788, #887777, #808877
Tints, shades & saturation
Channel breakdown
R119
G136
B136
Red119 (46.7%)
Green136 (53.3%)
Blue136 (53.3%)
Hue180°
Saturation (HSL)6.67%
Lightness50%
Dominant channelGreen and Blue
Hex per channelR 77 · G 88 · B 88
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