Nerdulator> put something in

Number

402

  • Positive
  • Even
  • Composite
  • 3 digits

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

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value402
Digit count3
Digit sum6
Digital root6repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 3 × 67
Distinct prime factors32, 3, 67
Number of divisors8
Sum of divisors σ(n)816
Aliquot sum414sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)132integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 67, 134, 201, 4028 in total

Arithmetic

Previous number401
Next number403
Double804
Half201
Square161,604
Square root20.049937656irrational, shown to 9 decimal places
Cube root7.380322692
Negation-402
Reciprocal0.0024875622
402 factorial1032249315192146516408101751144452354914… (875 digits)

Representations

Decimal402
Binary1100100109 bits
Octal622
Hexadecimal192
Base 36B6
Roman numeralCDII
In wordsfour hundred and two
Ordinalfour hundred and second
Scientific notation4.02 × 10^2
Engineering notation402

Nearest landmarks

Next prime409+7
Previous prime401−1
Distance to nearest prime1
Nearest square below400
Nearest square above441

Powers & multiples

402 to the power 2161,604
402 to the power 364,964,808
402 to the power 426,115,852,816
402 to the power 510,498,572,832,032
First ten multiples402, 804, 1,206, 1,608, 2,010, 2,412, 2,814, 3,216, 3,618, 4,020
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 119the total stopping time
Highest value reached1,0242× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps402 → 201 → 604 → 302 → 151 → 454 → 227 → 682 → 341 → 1,024 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage40,200%
402% as a decimal4.02
402% of 100402
402% of 1,0004,020
As a fraction of 100402/100

Read another way

As bytes402 B
As a 24-bit colour#000192

Keep nerding

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

Also reads as

#440022 (colour)

  • #440022
  • Red
  • Dark
  • Nearest: Black

#440022 is a red with RGB values 68, 0, 34 and HSL 330°, 100%, 13%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#440022#440022
HEX#440022
HEX (short)#402
RGBrgb(68, 0, 34)
RGB (0–1)0.2667, 0, 0.1333
RGB percentages26.7%, 0%, 13.3%
HSLhsl(330, 100%, 13.3%)
HSV / HSBhsv(330, 100%, 26.7%)
CMYK0%, 100%, 50%, 73.3%naive device-independent conversion; real print needs an ICC profile
24-bit integer4,456,482
CSS custom property--colour: #440022;

Brightness & contrast

Relative luminance0.01344WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.55:1
Contrast with white16.55:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#BBFFDD

Colour vision & accessibility

Protanopia#111623no red cones; affects about 1% of men; ΔE 32.5 from the original
Deuteranopia#242320no green cones; the most common form, about 1% of men; ΔE 33.7 from the original
Tritanopia#4B0010no blue cones; rare, and affects men and women equally; ΔE 14.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.55:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#004422
Analogous#440044, #440000
Triadic#224400, #002244
Split complementary#004400, #004444
Tetradic#444400, #004422, #000044

Tints, shades & saturation

Lighter +40%#FF1188
Lighter +30%#DD006F
Lighter +20%#AA0055
Lighter +10%#77003C
Darker −10%#110009
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#440022
Less saturated −25%#3C0822

Channel breakdown

R68
G0
B34
Red68 (26.7%)
Green0 (0%)
Blue34 (13.3%)
Hue330°
Saturation (HSL)100%
Lightness13.33%
Dominant channelRed
Hex per channelR 44 · G 00 · B 22

Keep nerding

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

Also reads as

HTTP 402 Payment Required (http status)

  • 402 Payment Required
  • Client error
  • RFC 9110

HTTP 402 Payment Required is a client error response: reserved for future use; used ad hoc by some APIs. It is defined in RFC 9110, and the request was malformed or cannot be fulfilled as sent.

Open this reading on its own page →

What it means

Status code402
Reason phrasePayment Requiredadvisory only; clients must not depend on the wording
Class4xx Client error
MeaningReserved for future use; used ad hoc by some APIs
Defined inRFC 9110
Cacheable by defaultNoonly cacheable if the response says so explicitly

How clients behave

Indicates an errorYes
Whose faultThe request
Body expectedUsually
Safe to retry automaticallyNo

The 4xx class

Class meaningThe request was malformed or cannot be fulfilled as sent
Codes in this class29
Lowest in class400
Highest in class451

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