Nerdulator> put something in

Recognised as Number

402,135

  • Positive
  • Odd
  • Composite
  • 6 digits

402,135 is an odd 6-digit integer and a composite number. It has 32 divisors and a digital root of 6.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value402,135
Digit count6
Digit sum15
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation3 × 5 × 17 × 19 × 83
Distinct prime factors53, 5, 17, 19, 83
Number of divisors32
Sum of divisors σ(n)725,760
Aliquot sum323,625sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)188,928integers below n that share no factor with it
Carmichael function λ(n)5,904the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 188,928
Möbius function μ(n)−15 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 3, 5, 15, 17, 19, 51, 57, 83, 85, 95, 249, 255, 285, 323, 415, 969, 1,245, 1,411, 1,577, 1,615, 4,233, 4,731, 4,845, 7,055, 7,885, 21,165, 23,655, 26,809, 80,427, 134,045, 402,13532 in total

Arithmetic

Previous number402,134
Next number402,136
Double804,270
Cube65,030,279,601,810,375
Square root634.14115148≈irrational, shown to 9 decimal places
Cube root73.811487552≈
Negation-402,135
Reciprocal0.0000024867≈

Representations

Decimal402,135
Binary110001000101101011119 bits
Octal1421327
Hexadecimal622D7
Base 368MAF
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand, one hundred and thirty-five
Ordinalfour hundred and two thousand, one hundred and thirty-fifth
Scientific notation4.02135 × 10^5
Engineering notation402.135 × 10^3

In other bases

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

Bit-level

00000000000001100010001011010111
Bit length19 bitsto write the magnitude
Set bits10the population count, or Hamming weight
Zero bits9within that length
Bit parityeven10 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 22 d7
Gray code1010011001110111100n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100010001011010111
64-bit0000000000000000000000000000000000000000000001100010001011010111
One's complement11111111111110011101110100101000at 32 bits, every bit flipped
Bits reversed11101011010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010110101110at 32 bits, wrapping
Shifted left by 111000100010110101110= 804,270, no wrap
Shifted right by 1110001000101101011= 201,067, discarding the low bit
These bits as a double1.98681088 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime402,137+2
Previous prime402,133−2
Distance to nearest prime2
Nearest square below401,956
Nearest square above403,225

Powers & multiples

402,135 to the power 2161,712,558,225
402,135 to the power 365,030,279,601,810,375
402,135 to the power 426,150,951,487,674,015,150,625
402,135 to the power 510,516,212,876,495,790,082,596,584,375
First ten multiples402,135, 804,270, 1,206,405, 1,608,540, 2,010,675, 2,412,810, 2,814,945, 3,217,080, 3,619,215, 4,021,350
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1117the total stopping time
Highest value reached2,714,4166× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,135 → 1,206,406 → 603,203 → 1,809,610 → 904,805 → 2,714,416 → 1,357,208 → 678,604 → 339,302 → 169,651 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,213,500%
402,135% as a decimal4,021.35
402,135% of 100402,135
402,135% of 1,0004,021,350
As a fraction of 100402,135/100

Read another way

As bytes392.71 KiB
As a 24-bit colour#0622D7

Keep nerding

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

Also reads as

#402135 (colour)

  • #402135
  • Magenta
  • Dark
  • Nearest: Black

#402135 is a magenta with RGB values 64, 33, 53 and HSL 321°, 32%, 19%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#402135#402135
HEX#402135
RGBrgb(64, 33, 53)
RGB (0–1)0.251, 0.1294, 0.2078
RGB percentages25.1%, 12.9%, 20.8%
HSLhsl(321.3, 32%, 19%)
HSV / HSBhsv(321.3, 48.4%, 25.1%)
CMYK0%, 48.4%, 17.2%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,805
CSS custom property--colour: #402135;

Brightness & contrast

Relative luminance0.02435WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.12:1
Contrast with white14.12:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#BFDECA

Colour vision & accessibility

Protanopia#232836no red cones; affects about 1% of men; ΔE 16.7 from the original
Deuteranopia#2B2D34no green cones; the most common form, about 1% of men; ΔE 17.4 from the original
Tritanopia#432128no blue cones; rare, and affects men and women equally; ΔE 9.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.12:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#21402C
Analogous#3B2140, #402126
Triadic#354021, #213540
Split complementary#264021, #21403B
Tetradic#403B21, #21402C, #212640

Tints, shades & saturation

Lighter +40%#B875A0
Lighter +30%#A55589
Lighter +20%#83446D
Lighter +10%#623251
Darker −10%#1E1019
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4C1539
Less saturated −25%#342D31

Channel breakdown

R64
G33
B53
Red64 (25.1%)
Green33 (12.9%)
Blue53 (20.8%)
Hue321.29°
Saturation (HSL)31.96%
Lightness19.02%
Dominant channelRed
Hex per channelR 40 · G 21 · B 35

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