Nerdulator> put something in

Recognised as Number

402,122

  • Positive
  • Even
  • Composite
  • 6 digits

402,122 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 2.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value402,122
Digit count6
Digit sum11
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 factorisation2 × 7 × 28,723
Distinct prime factors32, 7, 28,723
Number of divisors8
Sum of divisors σ(n)689,376
Aliquot sum287,254sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)172,332integers below n that share no factor with it
Carmichael function λ(n)28,722the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 172,332
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 7, 14, 28,723, 57,446, 201,061, 402,1228 in total

Arithmetic

Previous number402,121
Next number402,123
Double804,244
Cube65,023,973,015,919,848
Square root634.130901313≈irrational, shown to 9 decimal places
Cube root73.810692164≈
Negation-402,122
Reciprocal0.0000024868≈

Representations

Decimal402,122
Binary110001000101100101019 bits
Octal1421312
Hexadecimal622CA
Base 368MA2
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand, one hundred and twenty-two
Ordinalfour hundred and two thousand, one hundred and twenty-second
Scientific notation4.02122 × 10^5
Engineering notation402.122 × 10^3

In other bases

Ternary202102121102base 3; the most digit-efficient integer base after e: 12 digits
Quinary100331442base 5; one hand: 9 digits
Septenary3263240base 7: 7 digits
Nonary672542base 9; each digit is two ternary digits: 6 digits
Duodecimal174862base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2a562base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:51:42:2base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T1T110TT111Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110100110011111011110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001100010001011001010
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 even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes306 22 ca
Gray code1010011001110101111n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100010001011001010
64-bit0000000000000000000000000000000000000000000001100010001011001010
One's complement11111111111110011101110100110101at 32 bits, every bit flipped
Bits reversed01010011010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010110010100at 32 bits, wrapping
Shifted left by 111000100010110010100= 804,244, no wrap
Shifted right by 1110001000101100101= 201,061, discarding the low bit
These bits as a double1.98674666 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime402,131+9
Previous prime402,107−15
Distance to nearest prime9
Nearest square below401,956
Nearest square above403,225

Powers & multiples

402,122 to the power 2161,702,102,884
402,122 to the power 365,023,973,015,919,848
402,122 to the power 426,147,570,077,107,721,117,456
402,122 to the power 510,514,513,174,546,711,031,193,641,632
First ten multiples402,122, 804,244, 1,206,366, 1,608,488, 2,010,610, 2,412,732, 2,814,854, 3,216,976, 3,619,098, 4,021,220
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1117the total stopping time
Highest value reached603,1841× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,122 → 201,061 → 603,184 → 301,592 → 150,796 → 75,398 → 37,699 → 113,098 → 56,549 → 169,648 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,212,200%
402,122% as a decimal4,021.22
402,122% of 100402,122
402,122% of 1,0004,021,220
As a fraction of 100402,122/100

Read another way

As bytes392.697 KiB
As a 24-bit colour#0622CA

Keep nerding

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

Also reads as

#402122 (colour)

  • #402122
  • Red
  • Dark
  • Nearest: Black

#402122 is a red with RGB values 64, 33, 34 and HSL 358°, 32%, 19%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#402122#402122
HEX#402122
RGBrgb(64, 33, 34)
RGB (0–1)0.251, 0.1294, 0.1333
RGB percentages25.1%, 12.9%, 13.3%
HSLhsl(358.1, 32%, 19%)
HSV / HSBhsv(358.1, 48.4%, 25.1%)
CMYK0%, 48.4%, 46.9%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,786
CSS custom property--colour: #402122;

Brightness & contrast

Relative luminance0.02293WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.4:1
Contrast with white14.4:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#BFDEDD

Colour vision & accessibility

Protanopia#272622no red cones; affects about 1% of men; ΔE 15.9 from the original
Deuteranopia#2F2C21no green cones; the most common form, about 1% of men; ΔE 16 from the original
Tritanopia#451D22no blue cones; rare, and affects men and women equally; ΔE 4.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.4:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 23.4, a distinctly different colour
Hue familyred
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#21403F
Analogous#402132, #402F21
Triadic#224021, #212240
Split complementary#21402F, #213240
Tetradic#314021, #21403F, #2F2140

Tints, shades & saturation

Lighter +40%#B87577
Lighter +30%#A55558
Lighter +20%#834446
Lighter +10%#623234
Darker −10%#1E1010
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4C1517
Less saturated −25%#342D2D

Channel breakdown

R64
G33
B34
Red64 (25.1%)
Green33 (12.9%)
Blue34 (13.3%)
Hue358.06°
Saturation (HSL)31.96%
Lightness19.02%
Dominant channelRed
Hex per channelR 40 · G 21 · B 22

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 “402122” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.