Nerdulator> put something in

Number

2,040

  • Positive
  • Even
  • Composite
  • 4 digits

2,040 is an even 4-digit integer and a composite number. It has 32 divisors and a digital root of 6.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value2,040
Digit count4
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 × 3 × 5 × 17
Distinct prime factors42, 3, 5, 17
Number of divisors32
Sum of divisors σ(n)6,480
Aliquot sum4,440sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)512integers below n that share no factor with it
SquarefreeNohas a repeated prime factor
All divisors1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 17, 20, 24, 30, 34, 40, 51, 60, 68, 85, 102, 120, 136, 170, 204, 255, 340, 408, 510, 680, 1,020, 2,04032 in total

Arithmetic

Previous number2,039
Next number2,041
Double4,080
Half1,020
Square4,161,600
Square root45.166359163irrational, shown to 9 decimal places
Cube root12.682651411
Negation-2,040
Reciprocal0.0004901961

Representations

Decimal2,040
Binary1111111100011 bits
Octal3770
Hexadecimal7F8
Base 361KO
Roman numeralMMXL
In wordstwo thousand and forty
Ordinaltwo thousand and fortieth
Scientific notation2.04 × 10^3
Engineering notation2.04 × 10^3

Nearest landmarks

Next prime2,053+13
Previous prime2,039−1
Distance to nearest prime1
Nearest square below2,025
Nearest square above2,116

Powers & multiples

2,040 to the power 24,161,600
2,040 to the power 38,489,664,000
2,040 to the power 417,318,914,560,000
2,040 to the power 535,330,585,702,400,000
First ten multiples2,040, 4,080, 6,120, 8,160, 10,200, 12,240, 14,280, 16,320, 18,360, 20,400
Powers of twoBetween 2^10 (1,024) and 2^11 (2,048)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 150the total stopping time
Highest value reached13,1206× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps2,040 → 1,020 → 510 → 255 → 766 → 383 → 1,150 → 575 → 1,726 → 863 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage204,000%
2,040% as a decimal20.4
2,040% of 1002,040
2,040% of 1,00020,400
As a fraction of 1002,040/100

Read another way

As seconds34 minutes
As bytes1.992 KiB
As a year2040 AD
As a 24-bit colour#0007F8

Keep nerding

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

Also reads as

2040 (year)

  • Leap year
  • 366 days
  • 21st century
  • Monkey

2040 will be a leap year of 366 days. It begins on a Sunday and ends on a Monday. Easter Sunday falls on 1 April.

Open this reading on its own page →

Structure of the year

Leap yearYesdivisible by 4, and by 400 if divisible by 100
Days in the year366
Weeks in the year52ISO 8601 weeks; 28 December is always in the final week
Days in February29
1 January fell on aSunday
31 December fell on aMonday
Century21st century
Decade2040s
Chinese zodiacMonkey
Easter Sunday1 April

Months of 2040

Time references

These values depend on today’s date and change daily.

Unix timestamp at the start2,208,988,800
Unix timestamp at the end2,240,611,199
Years from now14 years from now
Days from today4,862 days to 1 January

The number 2040

As a number2,040
In wordstwo thousand and forty
Roman numeralsMMXL

Keep nerding

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

Also reads as

#220044 (colour)

  • #220044
  • Violet
  • Dark
  • Nearest: Midnight blue

#220044 is a violet with RGB values 34, 0, 68 and HSL 270°, 100%, 13%. It is a dark colour, so white text on it reaches 18.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#220044#220044
HEX#220044
HEX (short)#204
RGBrgb(34, 0, 68)
RGB (0–1)0.1333, 0, 0.2667
RGB percentages13.3%, 0%, 26.7%
HSLhsl(270, 100%, 13.3%)
HSV / HSBhsv(270, 100%, 26.7%)
CMYK50%, 100%, 0%, 73.3%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,228,292
CSS custom property--colour: #220044;

Brightness & contrast

Relative luminance0.00757WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.24:1
Contrast with white18.24:1WCAG normal text: AAA
Contrast with black1.15:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#DDFFBB

Colour vision & accessibility

Protanopia#001546no red cones; affects about 1% of men; ΔE 17.7 from the original
Deuteranopia#001443no green cones; the most common form, about 1% of men; ΔE 18.4 from the original
Tritanopia#191524no blue cones; rare, and affects men and women equally; ΔE 36.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.24:1WCAG large text: AAA
Contrast with black, large text1.15:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 17.44, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

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

Tints, shades & saturation

Lighter +40%#8811FF
Lighter +30%#6F00DD
Lighter +20%#5500AA
Lighter +10%#3C0077
Darker −10%#090011
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#220044
Less saturated −25%#22083C

Channel breakdown

R34
G0
B68
Red34 (13.3%)
Green0 (0%)
Blue68 (26.7%)
Hue270°
Saturation (HSL)100%
Lightness13.33%
Dominant channelBlue
Hex per channelR 22 · G 00 · B 44

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