Recognised as Number
402,149
- Positive
- Odd
- Composite
- 6 digits
402,149 is an odd 6-digit integer and a composite number. It has 4 divisors and a digital root of 2.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value402,149
Digit count6
Digit sum20
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation11 × 36,559
Distinct prime factors211, 36,559
Number of divisors4
Sum of divisors σ(n)438,720
Aliquot sum36,571sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)365,580integers below n that share no factor with it
Carmichael function λ(n)182,790the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 365,580
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 11, 36,559, 402,1494 in total
Arithmetic
Representations
Decimal402,149
Binary110001000101110010119 bits
Octal1421345
Hexadecimal622E5
Base 368MAT
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand, one hundred and forty-nine
Ordinalfour hundred and two thousand, one hundred and forty-ninth
Scientific notation4.02149 × 10^5
Engineering notation402.149 × 10^3
In other bases
Ternary202102122102base 3; the most digit-efficient integer base after e: 12 digits
Quinary100332044base 5; one hand: 9 digits
Septenary3263306base 7: 7 digits
Nonary672572base 9; each digit is two ternary digits: 6 digits
Duodecimal174885base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a579base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:42:29base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T110T0T11Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110011100100101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001100010001011100101
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 22 e5
Gray code1010011001110010111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001100010001011100101
64-bit0000000000000000000000000000000000000000000001100010001011100101
One's complement11111111111110011101110100011010at 32 bits, every bit flipped
Bits reversed10100111010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010111001010at 32 bits, wrapping
Shifted left by 111000100010111001010= 804,298, no wrap
Shifted right by 1110001000101110010= 201,074, discarding the low bit
These bits as a double1.98688005 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
402,149 to the power 2161,723,818,201
402,149 to the power 365,037,071,765,713,949
402,149 to the power 426,154,593,373,510,098,876,401
402,149 to the power 510,518,043,570,563,712,753,045,785,749
First ten multiples402,149, 804,298, 1,206,447, 1,608,596, 2,010,745, 2,412,894, 2,815,043, 3,217,192, 3,619,341, 4,021,490
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 4
Divisible by 6No, remainder 5
Divisible by 7No, remainder 6
Divisible by 8No, remainder 5
Divisible by 9No, remainder 2
Divisible by 10No, remainder 9
Divisible by 11Yes
Divisible by 12No, remainder 5
Divisible by 100No, remainder 49
Collatz (3n + 1) trajectory
Steps to reach 1117the total stopping time
Highest value reached1,206,4483× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,149 → 1,206,448 → 603,224 → 301,612 → 150,806 → 75,403 → 226,210 → 113,105 → 339,316 → 169,658 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage40,214,900%
402,149% as a decimal4,021.49
402,149% of 100402,149
402,149% of 1,0004,021,490
As a fraction of 100402,149/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,149
Also reads as
#402149 (colour)
- #402149
- Violet
- Dark
- Nearest: Dark slateblue
#402149 is a violet with RGB values 64, 33, 73 and HSL 287°, 38%, 21%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#402149#402149
HEX#402149
RGBrgb(64, 33, 73)
RGB (0–1)0.251, 0.1294, 0.2863
RGB percentages25.1%, 12.9%, 28.6%
HSLhsl(286.5, 37.7%, 20.8%)
HSV / HSBhsv(286.5, 54.8%, 28.6%)
CMYK12.3%, 54.8%, 0%, 71.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,825
CSS custom property--colour: #402149;
Brightness & contrast
Relative luminance0.02659WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.71:1
Contrast with white13.71:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#BFDEB6
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.71:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2A4921
Analogous#2C2149, #49213E
Triadic#494021, #214940
Split complementary#3E4921, #21492C
Tetradic#492C21, #2A4921, #213E49
Tints, shades & saturation
Channel breakdown
R64
G33
B73
Red64 (25.1%)
Green33 (12.9%)
Blue73 (28.6%)
Hue286.5°
Saturation (HSL)37.74%
Lightness20.78%
Dominant channelBlue
Hex per channelR 40 · G 21 · B 49
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