Recognised as Number
940,798
- Positive
- Even
- Composite
- 6 digits
940,798 is an even 6-digit integer and a composite number. It has 4 divisors and a digital root of 1.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value940,798
Digit count6
Digit sum37
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 470,399
Distinct prime factors22, 470,399
Number of divisors4
Sum of divisors σ(n)1,411,200
Aliquot sum470,402sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)470,398integers below n that share no factor with it
Carmichael function λ(n)470,398the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 470,399, 940,7984 in total
Arithmetic
Representations
Decimal940,798
Binary1110010110101111111020 bits
Octal3455376
HexadecimalE5AFE
Base 36K5XA
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsnine hundred and forty thousand, seven hundred and ninety-eight
Ordinalnine hundred and forty thousand, seven hundred and ninety-eighth
Scientific notation9.40798 × 10^5
Engineering notation940.798 × 10^3
In other bases
Ternary1202210112101base 3; the most digit-efficient integer base after e: 13 digits
Quinary220101143base 5; one hand: 9 digits
Septenary10665565base 7: 8 digits
Nonary1683471base 9; each digit is two ternary digits: 7 digits
Duodecimal39453abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal5hbjibase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal4:21:19:58base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1TT10T11TTT101digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary100111010111100000010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000011100101101011111110
Bit length20 bitsto write the magnitude
Set bits14the population count, or Hamming weight
Zero bits6within that length
Bit parityeven14 set bits, so even; not the same as the number itself being even
Highest set bitbit 19worth 524,288
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes30e 5a fe
Gray code10010111011110000001n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000011100101101011111110
64-bit0000000000000000000000000000000000000000000011100101101011111110
One's complement11111111111100011010010100000001at 32 bits, every bit flipped
Bits reversed01111111010110100111000000000000at 32 bits
Rotated left by 100000000000111001011010111111100at 32 bits, wrapping
Shifted left by 1111001011010111111100= 1,881,596, no wrap
Shifted right by 11110010110101111111= 470,399, discarding the low bit
These bits as a double4.64815971 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
940,798 to the power 2885,100,876,804
940,798 to the power 3832,701,134,695,449,592
940,798 to the power 4783,403,562,119,209,585,254,416
940,798 to the power 5737,024,504,434,628,139,388,184,063,968
First ten multiples940,798, 1,881,596, 2,822,394, 3,763,192, 4,703,990, 5,644,788, 6,585,586, 7,526,384, 8,467,182, 9,407,980
Powers of twoBetween 2^19 (524,288) and 2^20 (1,048,576)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 1
Divisible by 4No, remainder 2
Divisible by 5No, remainder 3
Divisible by 6No, remainder 4
Divisible by 7No, remainder 5
Divisible by 8No, remainder 6
Divisible by 9No, remainder 1
Divisible by 10No, remainder 8
Divisible by 11No, remainder 1
Divisible by 12No, remainder 10
Divisible by 100No, remainder 98
Collatz (3n + 1) trajectory
Steps to reach 1276the total stopping time
Highest value reached26,099,65627× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps940,798 → 470,399 → 1,411,198 → 705,599 → 2,116,798 → 1,058,399 → 3,175,198 → 1,587,599 → 4,762,798 → 2,381,399 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage94,079,800%
940,798% as a decimal9,407.98
940,798% of 100940,798
940,798% of 1,0009,407,980
As a fraction of 100940,798/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 940,798
Also reads as
#940798 (colour)
- #940798
- Magenta
- Dark
- Nearest: Dark magenta
#940798 is a magenta with RGB values 148, 7, 152 and HSL 298°, 91%, 31%. It is a dark colour, so white text on it reaches 7.7:1 contrast (AAA for normal text). The nearest named colour is Dark magenta.
Colour values
#940798#940798
HEX#940798
RGBrgb(148, 7, 152)
RGB (0–1)0.5804, 0.0275, 0.5961
RGB percentages58%, 2.7%, 59.6%
HSLhsl(298.3, 91.2%, 31.2%)
HSV / HSBhsv(298.3, 95.4%, 59.6%)
CMYK2.6%, 95.4%, 0%, 40.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,701,272
CSS custom property--colour: #940798;
Brightness & contrast
Relative luminance0.08715WCAG 2.x, 0 is black and 1 is white
Perceived brightness96 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.66:1
Contrast with white7.66:1WCAG normal text: AAA
Contrast with black2.74:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#6BF867
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.66:1WCAG large text: AAA
Contrast with black, large text2.74:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0B9807
Analogous#4C0798, #980753
Triadic#989407, #079894
Split complementary#539807, #07984C
Tetradic#984C07, #0B9807, #075398
Tints, shades & saturation
Channel breakdown
R148
G7
B152
Red148 (58%)
Green7 (2.7%)
Blue152 (59.6%)
Hue298.34°
Saturation (HSL)91.19%
Lightness31.18%
Dominant channelBlue
Hex per channelR 94 · G 07 · B 98
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