Nerdulator> put something in

Number

789

  • Positive
  • Odd
  • Composite
  • 3 digits

789 is an odd 3-digit integer and a composite number. It has 4 divisors and a digital root of 6.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value789
Digit count3
Digit sum24
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation3 × 263
Distinct prime factors23, 263
Number of divisors4
Sum of divisors σ(n)1,056
Aliquot sum267sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)524integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 3, 263, 7894 in total

Arithmetic

Previous number788
Next number790
Double1,578
Half394.5
Square622,521
Square root28.08914381irrational, shown to 9 decimal places
Cube root9.240433255
Negation-789
Reciprocal0.0012674271
789 factorial9617974384062335467636723938025836267680… (1,945 digits)

Representations

Decimal789
Binary110001010110 bits
Octal1425
Hexadecimal315
Base 36LX
Roman numeralDCCLXXXIX
In wordsseven hundred and eighty-nine
Ordinalseven hundred and eighty-ninth
Scientific notation7.89 × 10^2
Engineering notation789

Nearest landmarks

Next prime797+8
Previous prime787−2
Distance to nearest prime2
Nearest square below784
Nearest square above841

Powers & multiples

789 to the power 2622,521
789 to the power 3491,169,069
789 to the power 4387,532,395,441
789 to the power 5305,763,060,002,949
First ten multiples789, 1,578, 2,367, 3,156, 3,945, 4,734, 5,523, 6,312, 7,101, 7,890
Powers of twoBetween 2^9 (512) and 2^10 (1,024)

Divisibility tests

Divisible by 2No, remainder 1
Divisible by 3Yes
Divisible by 4No, remainder 1
Divisible by 5No, remainder 4
Divisible by 6No, remainder 3
Divisible by 7No, remainder 5
Divisible by 8No, remainder 5
Divisible by 9No, remainder 6
Divisible by 10No, remainder 9
Divisible by 11No, remainder 8
Divisible by 12No, remainder 9
Divisible by 100No, remainder 89

Collatz (3n + 1) trajectory

Steps to reach 128the total stopping time
Highest value reached2,3683× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps789 → 2,368 → 1,184 → 592 → 296 → 148 → 74 → 37 → 112 → 56 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage78,900%
789% as a decimal7.89
789% of 100789
789% of 1,0007,890
As a fraction of 100789/100

Read another way

As bytes789 B
As a 24-bit colour#000315

Keep nerding

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

Also reads as

#778899 (colour)

  • #778899
  • Blue
  • Dark
  • Named: Light slate grey

#778899 is the CSS colour blue with RGB values 119, 136, 153 and HSL 210°, 14%, 53%. It is a dark colour, so black text on it reaches 5.8:1 contrast (AA for normal text). The nearest named colour is Light slate grey.

Open this reading on its own page →

Colour values

#778899#778899
HEX#778899
HEX (short)#789
RGBrgb(119, 136, 153)
RGB (0–1)0.4667, 0.5333, 0.6
RGB percentages46.7%, 53.3%, 60%
HSLhsl(210, 14.3%, 53.3%)
HSV / HSBhsv(210, 22.2%, 60%)
CMYK22.2%, 11.1%, 0%, 40%naive device-independent conversion; real print needs an ICC profile
24-bit integer7,833,753
CSS custom property--colour: #778899;

Brightness & contrast

Relative luminance0.2383WCAG 2.x, 0 is black and 1 is white
Perceived brightness133.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.77:1
Contrast with white3.64:1WCAG normal text: Fail
Contrast with black5.77:1WCAG normal text: AA
Greyscale equivalent#868686
Inverted#887766

Colour vision & accessibility

Protanopia#82889Ano red cones; affects about 1% of men; ΔE 4.1 from the original
Deuteranopia#7E8499no green cones; the most common form, about 1% of men; ΔE 4.7 from the original
Tritanopia#6E8C8Dno blue cones; rare, and affects men and women equally; ΔE 10.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.64:1WCAG large text: AA
Contrast with black, large text5.77:1WCAG large text: AAA

Named colours

This is a named CSS colourLight slate grey (#778899)exact match
Hue familyblue
CSS keyword usablelightslategray

Colour harmonies

Complementary#998877
Analogous#779999, #777799
Triadic#997788, #889977
Split complementary#997777, #999977
Tetradic#997799, #998877, #779977

Tints, shades & saturation

Lighter +40%#ECEEF0
Lighter +30%#CED5DB
Lighter +20%#B1BBC5
Lighter +10%#94A2AF
Darker −10%#5F6F7E
Darker −20%#495561
Darker −30%#333C44
Darker −40%#1D2227
More saturated +25%#5988B7
Less saturated −25%#888888

Channel breakdown

R119
G136
B153
Red119 (46.7%)
Green136 (53.3%)
Blue153 (60%)
Hue210°
Saturation (HSL)14.29%
Lightness53.33%
Dominant channelBlue
Hex per channelR 77 · G 88 · B 99

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

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