Nerdulator> put something in

Recognised as Number

2,018

  • Positive
  • Even
  • Composite
  • 4 digits

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

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value2,018
Digit count4
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 × 1,009
Distinct prime factors22, 1,009
Number of divisors4
Sum of divisors σ(n)3,030
Aliquot sum1,012sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)1,008integers below n that share no factor with it
Carmichael function λ(n)1,008the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 1,009, 2,0184 in total

Arithmetic

Previous number2,017
Next number2,019
Double4,036
Half1,009
Square4,072,324
Square root44.92215489irrational, shown to 9 decimal places
Cube root12.636895301
Negation-2,018
Reciprocal0.0004955401

Representations

Decimal2,018
Binary1111110001011 bits
Octal3742
Hexadecimal7E2
Base 361K2
Roman numeralMMXVIII
In wordstwo thousand and eighteen
Ordinaltwo thousand and eighteenth
Scientific notation2.018 × 10^3
Engineering notation2.018 × 10^3

In other bases

Ternary2202202base 3; the most digit-efficient integer base after e: 7 digits
Quinary31033base 5; one hand: 5 digits
Septenary5612base 7: 4 digits
Nonary2682base 9; each digit is two ternary digits: 4 digits
Duodecimal1202base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 4 digits
Vigesimal50ibase 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal33:38base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary10T10T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1100000100110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0000011111100010
Bit length11 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits4within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being even
Highest set bitbit 10worth 1,024
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes207 e2
Gray code10000010011n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0000011111100010
32-bit00000000000000000000011111100010
64-bit0000000000000000000000000000000000000000000000000000011111100010
One's complement1111100000011101at 16 bits, every bit flipped
Bits reversed0100011111100000at 16 bits
Rotated left by 10000111111000100at 16 bits, wrapping
Shifted left by 1111111000100= 4,036, no wrap
Shifted right by 11111110001= 1,009, discarding the low bit
These bits as a double9.97024473 × 10^-321IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime2,027+9
Previous prime2,017−1
Distance to nearest prime1
Nearest square below1,936
Nearest square above2,025

Powers & multiples

2,018 to the power 24,072,324
2,018 to the power 38,217,949,832
2,018 to the power 416,583,822,760,976
2,018 to the power 533,466,154,331,649,568
First ten multiples2,018, 4,036, 6,054, 8,072, 10,090, 12,108, 14,126, 16,144, 18,162, 20,180
Powers of twoBetween 2^10 (1,024) and 2^11 (2,048)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1112the total stopping time
Highest value reached9,2324× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps2,018 → 1,009 → 3,028 → 1,514 → 757 → 2,272 → 1,136 → 568 → 284 → 142 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage201,800%
2,018% as a decimal20.18
2,018% of 1002,018
2,018% of 1,00020,180
As a fraction of 1002,018/100

Read another way

As bytes1.971 KiB
As a year2018 AD
As a 24-bit colour#0007E2

Keep nerding

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

Also reads as

2018 (year)

  • Common year
  • 365 days
  • 21st century
  • Dog

2018 was a common year of 365 days. It began on a Monday and ended on a Monday. Easter Sunday fell on 1 April.

Open this reading on its own page →

Structure of the year

Leap yearNonot divisible by 4
Days in the year365
Days in February28
1 January fell on aMonday
31 December fell on aMonday
Century21st century
Decade2010s
Chinese zodiacDog
Easter Sunday1 April

Patterns forced by the calendar

Weekday counts52 of each, plus an extra Monday365 days is 52 weeks and 1 day, and the remainder starts on the weekday 1 January falls on
Sundays52
Mondays53one of the extras
Tuesdays52
Wednesdays52
Thursdays52
Fridays52
Saturdays52
Friday the 13th2 of them13 April, 13 July
ISO weeks52an ordinary 52-week year
Same calendar as2007the most recent year whose calendar is identical, so a printed one could be reused
Calendar repeats in2029, 2035, 204611 years later, then again after that; the gap is 6, 11 or 28 years, broken by centuries that skip a leap year

Months of 2018

Time references

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

Unix timestamp at the start1,514,764,800
Unix timestamp at the end1,546,300,799
Years from now8 years ago
Days from today3,180 days since 1 January

The number 2018

As a number2,018
In wordstwo thousand and eighteen
Roman numeralsMMXVIII

Keep nerding

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

Also reads as

#220011 (colour)

  • #220011
  • Red
  • Dark
  • Nearest: Black

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

Open this reading on its own page →

Colour values

#220011#220011
HEX#220011
HEX (short)#201
RGBrgb(34, 0, 17)
RGB (0–1)0.1333, 0, 0.0667
RGB percentages13.3%, 0%, 6.7%
HSLhsl(330, 100%, 6.7%)
HSV / HSBhsv(330, 100%, 13.3%)
CMYK0%, 100%, 50%, 86.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer2,228,241
CSS custom property--colour: #220011;

Brightness & contrast

Relative luminance0.00381WCAG 2.x, 0 is black and 1 is white
Perceived brightness19.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.51:1
Contrast with white19.51:1WCAG normal text: AAA
Contrast with black1.08:1WCAG normal text: Fail
Greyscale equivalent#080808
Inverted#DDFFEE

Colour vision & accessibility

Protanopia#040812no red cones; affects about 1% of men; ΔE 16 from the original
Deuteranopia#0F0F10no green cones; the most common form, about 1% of men; ΔE 16.3 from the original
Tritanopia#260006no blue cones; rare, and affects men and women equally; ΔE 5.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.51:1WCAG large text: AAA
Contrast with black, large text1.08:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#002211
Analogous#220022, #220000
Triadic#112200, #001122
Split complementary#002200, #002222
Tetradic#222200, #002211, #000022

Tints, shades & saturation

Lighter +40%#EE0077
Lighter +30%#BB005E
Lighter +20%#880044
Lighter +10%#55002B
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#220011
Less saturated −25%#1E0411

Channel breakdown

R34
G0
B17
Red34 (13.3%)
Green0 (0%)
Blue17 (6.7%)
Hue330°
Saturation (HSL)100%
Lightness6.67%
Dominant channelRed
Hex per channelR 22 · G 00 · B 11

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