Nerdulator> put something in

Recognised as Number

402,007

  • Positive
  • Odd
  • Composite
  • 6 digits

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

Number properties

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

Factors & divisors

Prime factorisation43 × 9,349
Distinct prime factors243, 9,349
Number of divisors4
Sum of divisors σ(n)411,400
Aliquot sum9,393sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)392,616integers below n that share no factor with it
Carmichael function λ(n)65,436the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 392,616
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 43, 9,349, 402,0074 in total

Arithmetic

Previous number402,006
Next number402,008
Double804,014
Cube64,968,201,743,094,343
Square root634.040219544≈irrational, shown to 9 decimal places
Cube root73.803655295≈
Negation-402,007
Reciprocal0.0000024875≈

Representations

Decimal402,007
Binary110001000100101011119 bits
Octal1421127
Hexadecimal62257
Base 368M6V
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour hundred and two thousand and seven
Ordinalfour hundred and two thousand and seventh
Scientific notation4.02007 × 10^5
Engineering notation402.007 × 10^3

In other bases

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

Bit-level

00000000000001100010001001010111
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 57
Gray code1010011001101111100n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001100010001001010111
64-bit0000000000000000000000000000000000000000000001100010001001010111
One's complement11111111111110011101110110101000at 32 bits, every bit flipped
Bits reversed11101010010001000110000000000000at 32 bits
Rotated left by 100000000000011000100010010101110at 32 bits, wrapping
Shifted left by 111000100010010101110= 804,014, no wrap
Shifted right by 1110001000100101011= 201,003, discarding the low bit
These bits as a double1.98617848 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime402,023+16
Previous prime401,993−14
Distance to nearest prime14
Nearest square below401,956
Nearest square above403,225

Powers & multiples

402,007 to the power 2161,609,628,049
402,007 to the power 364,968,201,743,094,343
402,007 to the power 426,117,671,878,136,127,546,401
402,007 to the power 510,499,486,918,713,870,226,546,026,807
First ten multiples402,007, 804,014, 1,206,021, 1,608,028, 2,010,035, 2,412,042, 2,814,049, 3,216,056, 3,618,063, 4,020,070
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 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 4
Divisible by 8No, remainder 7
Divisible by 9No, remainder 4
Divisible by 10No, remainder 7
Divisible by 11No, remainder 1
Divisible by 12No, remainder 7
Divisible by 100No, remainder 7

Collatz (3n + 1) trajectory

Steps to reach 1143the total stopping time
Highest value reached2,713,5526× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402,007 → 1,206,022 → 603,011 → 1,809,034 → 904,517 → 2,713,552 → 1,356,776 → 678,388 → 339,194 → 169,597 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,200,700%
402,007% as a decimal4,020.07
402,007% of 100402,007
402,007% of 1,0004,020,070
As a fraction of 100402,007/100

Read another way

As bytes392.585 KiB
As a 24-bit colour#062257

Keep nerding

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

Also reads as

#402007 (colour)

  • #402007
  • Orange
  • Dark
  • Nearest: Black

#402007 is a orange with RGB values 64, 32, 7 and HSL 26°, 80%, 14%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#402007#402007
HEX#402007
RGBrgb(64, 32, 7)
RGB (0–1)0.251, 0.1255, 0.0275
RGB percentages25.1%, 12.5%, 2.7%
HSLhsl(26.3, 80.3%, 13.9%)
HSV / HSBhsv(26.3, 89.1%, 25.1%)
CMYK0%, 50%, 89.1%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,503
CSS custom property--colour: #402007;

Brightness & contrast

Relative luminance0.02138WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.71:1
Contrast with white14.71:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#BFDFF8

Colour vision & accessibility

Protanopia#292404no red cones; affects about 1% of men; ΔE 15.8 from the original
Deuteranopia#312B07no green cones; the most common form, about 1% of men; ΔE 15.6 from the original
Tritanopia#47191Bno blue cones; rare, and affects men and women equally; ΔE 14.5 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.71:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#072740
Analogous#40070B, #403D07
Triadic#074020, #200740
Split complementary#07403C, #070B40
Tetradic#0A4007, #072740, #3C0740

Tints, shades & saturation

Lighter +40%#E87E2B
Lighter +30%#CA6516
Lighter +20%#9C4E11
Lighter +10%#6E370C
Darker −10%#120902
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#471F00
Less saturated −25%#372110

Channel breakdown

R64
G32
B7
Red64 (25.1%)
Green32 (12.5%)
Blue7 (2.7%)
Hue26.32°
Saturation (HSL)80.28%
Lightness13.92%
Dominant channelRed
Hex per channelR 40 · G 20 · B 07

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