Recognised as Number
398,021
- Positive
- Odd
- Composite
- 6 digits
398,021 is an odd 6-digit integer and a composite number. It has 8 divisors and a digital root of 5.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value398,021
Digit count6
Digit sum23
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 factorisation13 × 17 × 1,801
Distinct prime factors313, 17, 1,801
Number of divisors8
Sum of divisors σ(n)454,104
Aliquot sum56,083sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)345,600integers below n that share no factor with it
Carmichael function λ(n)3,600the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 345,600
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 13, 17, 221, 1,801, 23,413, 30,617, 398,0218 in total
Arithmetic
Representations
Decimal398,021
Binary110000100101100010119 bits
Octal1411305
Hexadecimal612C5
Base 368J45
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and ninety-eight thousand and twenty-one
Ordinalthree hundred and ninety-eight thousand and twenty-first
Scientific notation3.98021 × 10^5
Engineering notation398.021 × 10^3
In other bases
Ternary202012222112base 3; the most digit-efficient integer base after e: 12 digits
Quinary100214041base 5; one hand: 9 digits
Septenary3245261base 7: 7 digits
Nonary665875base 9; each digit is two ternary digits: 6 digits
Duodecimal172405base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal29f11base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:50:33:41base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T1T0000TTTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100001011111000101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100001001011000101
Bit length19 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits11within that length
Bit parityeven8 set bits, so even; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes306 12 c5
Gray code1010001101110100111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100001001011000101
64-bit0000000000000000000000000000000000000000000001100001001011000101
One's complement11111111111110011110110100111010at 32 bits, every bit flipped
Bits reversed10100011010010000110000000000000at 32 bits
Rotated left by 100000000000011000010010110001010at 32 bits, wrapping
Shifted left by 111000010010110001010= 796,042, no wrap
Shifted right by 1110000100101100010= 199,010, discarding the low bit
These bits as a double1.96648502 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
398,021 to the power 2158,420,716,441
398,021 to the power 363,054,771,978,563,261
398,021 to the power 425,097,123,397,679,727,706,481
398,021 to the power 59,989,182,151,867,882,901,461,274,101
First ten multiples398,021, 796,042, 1,194,063, 1,592,084, 1,990,105, 2,388,126, 2,786,147, 3,184,168, 3,582,189, 3,980,210
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 2
Divisible by 4No, remainder 1
Divisible by 5No, remainder 1
Divisible by 6No, remainder 5
Divisible by 7No, remainder 1
Divisible by 8No, remainder 5
Divisible by 9No, remainder 5
Divisible by 10No, remainder 1
Divisible by 11No, remainder 8
Divisible by 12No, remainder 5
Divisible by 100No, remainder 21
Collatz (3n + 1) trajectory
Steps to reach 199the total stopping time
Highest value reached1,194,0643× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps398,021 → 1,194,064 → 597,032 → 298,516 → 149,258 → 74,629 → 223,888 → 111,944 → 55,972 → 27,986 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage39,802,100%
398,021% as a decimal3,980.21
398,021% of 100398,021
398,021% of 1,0003,980,210
As a fraction of 100398,021/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 398,021
Also reads as
#398021 (colour)
- #398021
- Green
- Dark
- Nearest: Forest green
#398021 is a green with RGB values 57, 128, 33 and HSL 105°, 59%, 32%. It is a dark colour, so white text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Forest green.
Colour values
#398021#398021
HEX#398021
RGBrgb(57, 128, 33)
RGB (0–1)0.2235, 0.502, 0.1294
RGB percentages22.4%, 50.2%, 12.9%
HSLhsl(104.8, 59%, 31.6%)
HSV / HSBhsv(104.8, 74.2%, 50.2%)
CMYK55.5%, 0%, 74.2%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,768,353
CSS custom property--colour: #398021;
Brightness & contrast
Relative luminance0.16418WCAG 2.x, 0 is black and 1 is white
Perceived brightness103.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.9:1
Contrast with white4.9:1WCAG normal text: AA
Contrast with black4.28:1WCAG normal text: Fail
Greyscale equivalent#6A6A6A
Inverted#C67FDE
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.9:1WCAG large text: AAA
Contrast with black, large text4.28:1WCAG large text: AA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#682180
Analogous#688021, #218039
Triadic#213980, #802139
Split complementary#392180, #802168
Tetradic#216880, #682180, #803921
Tints, shades & saturation
Channel breakdown
R57
G128
B33
Red57 (22.4%)
Green128 (50.2%)
Blue33 (12.9%)
Hue104.84°
Saturation (HSL)59.01%
Lightness31.57%
Dominant channelGreen
Hex per channelR 39 · G 80 · B 21
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