Recognised as Number
402,199
- Positive
- Odd
- Composite
- 6 digits
402,199 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 7.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value402,199
Digit count6
Digit sum25
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation7 × 57,457
Distinct prime factors27, 57,457
Number of divisors4
Sum of divisors σ(n)459,664
Aliquot sum57,465sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)344,736integers below n that share no factor with it
Carmichael function λ(n)57,456the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 344,736
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 7, 57,457, 402,1994 in total
Arithmetic
Representations
Decimal402,199
Binary110001000110001011119 bits
Octal1421427
Hexadecimal62317
Base 368MC7
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand, one hundred and ninety-nine
Ordinalfour hundred and two thousand, one hundred and ninety-ninth
Scientific notation4.02199 × 10^5
Engineering notation402.199 × 10^3
In other bases
Ternary202102201021base 3; the most digit-efficient integer base after e: 12 digits
Quinary100332244base 5; one hand: 9 digits
Septenary3263410base 7: 7 digits
Nonary672637base 9; each digit is two ternary digits: 6 digits
Duodecimal174907base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a59jbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:43:19base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T110T011T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110011101101011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100010001100010111
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; 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 23 17
Gray code1010011001010011100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100010001100010111
64-bit0000000000000000000000000000000000000000000001100010001100010111
One's complement11111111111110011101110011101000at 32 bits, every bit flipped
Bits reversed11101000110001000110000000000000at 32 bits
Rotated left by 100000000000011000100011000101110at 32 bits, wrapping
Shifted left by 111000100011000101110= 804,398, no wrap
Shifted right by 1110001000110001011= 201,099, discarding the low bit
These bits as a double1.98712709 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
402,199 to the power 2161,764,035,601
402,199 to the power 365,061,333,354,686,599
402,199 to the power 426,167,603,213,921,595,431,201
402,199 to the power 510,524,583,845,036,051,760,833,610,999
First ten multiples402,199, 804,398, 1,206,597, 1,608,796, 2,010,995, 2,413,194, 2,815,393, 3,217,592, 3,619,791, 4,021,990
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 3
Divisible by 5No, remainder 4
Divisible by 6No, remainder 1
Divisible by 7Yes
Divisible by 8No, remainder 7
Divisible by 9No, remainder 7
Divisible by 10No, remainder 9
Divisible by 11No, remainder 6
Divisible by 12No, remainder 7
Divisible by 100No, remainder 99
Collatz (3n + 1) trajectory
Steps to reach 1143the total stopping time
Highest value reached3,261,5448× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,199 → 1,206,598 → 603,299 → 1,809,898 → 904,949 → 2,714,848 → 1,357,424 → 678,712 → 339,356 → 169,678 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,219,900%
402,199% as a decimal4,021.99
402,199% of 100402,199
402,199% of 1,0004,021,990
As a fraction of 100402,199/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 402,199
Also reads as
#402199 (colour)
- #402199
- Violet
- Dark
- Nearest: Indigo
#402199 is a violet with RGB values 64, 33, 153 and HSL 255°, 65%, 36%. It is a dark colour, so white text on it reaches 11.1:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#402199#402199
HEX#402199
RGBrgb(64, 33, 153)
RGB (0–1)0.251, 0.1294, 0.6
RGB percentages25.1%, 12.9%, 60%
HSLhsl(255.5, 64.5%, 36.5%)
HSV / HSBhsv(255.5, 78.4%, 60%)
CMYK58.2%, 78.4%, 0%, 40%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,905
CSS custom property--colour: #402199;
Brightness & contrast
Relative luminance0.04478WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.08:1
Contrast with white11.08:1WCAG normal text: AAA
Contrast with black1.9:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#BFDE66
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.08:1WCAG large text: AAA
Contrast with black, large text1.9:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7A9921
Analogous#213E99, #7C2199
Triadic#994021, #219940
Split complementary#997C21, #3E9921
Tetradic#99213E, #7A9921, #21997C
Tints, shades & saturation
Channel breakdown
R64
G33
B153
Red64 (25.1%)
Green33 (12.9%)
Blue153 (60%)
Hue255.5°
Saturation (HSL)64.52%
Lightness36.47%
Dominant channelBlue
Hex per channelR 40 · G 21 · 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