Nerdulator> put something in

Recognised as Number

4,159

  • Positive
  • Odd
  • Prime
  • 4 digits

4,159 is an odd 4-digit integer and a prime number. It has 2 divisors and a digital root of 1.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value4,159
Digit count4
Digit sum19
Digit product180
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root1repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation4,159
Distinct prime factors14,159
Number of divisors2
Sum of divisors σ(n)4,160
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)4,158integers below n that share no factor with it
Carmichael function λ(n)4,158the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 4,1592 in total

Arithmetic

Previous number4,158
Next number4,160
Double8,318
Square root64.49030935irrational, shown to 9 decimal places
Cube root16.081614237
Negation-4,159
Reciprocal0.0002404424

Representations

Decimal4,159
Binary100000011111113 bits
Octal10077
Hexadecimal103F
Base 3637J
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfour thousand, one hundred and fifty-nine
Ordinalfour thousand, one hundred and fifty-ninth
Scientific notation4.159 × 10^3
Engineering notation4.159 × 10^3

In other bases

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

Bit-level

0001000000111111
Bit length13 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits6within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 12worth 4,096
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes210 3f
Gray code1100000100000n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0001000000111111
32-bit00000000000000000001000000111111
64-bit0000000000000000000000000000000000000000000000000001000000111111
One's complement1110111111000000at 16 bits, every bit flipped
Bits reversed1111110000001000at 16 bits
Rotated left by 10010000001111110at 16 bits, wrapping
Shifted left by 110000001111110= 8,318, no wrap
Shifted right by 1100000011111= 2,079, discarding the low bit
These bits as a double2.05481902 × 10^-320IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime4,177+18
Previous prime4,157−2
Distance to nearest prime0, it is prime
Nearest square below4,096
Nearest square above4,225

Powers & multiples

4,159 to the power 217,297,281
4,159 to the power 371,939,391,679
4,159 to the power 4299,195,929,992,961
4,159 to the power 51,244,355,872,840,724,799
First ten multiples4,159, 8,318, 12,477, 16,636, 20,795, 24,954, 29,113, 33,272, 37,431, 41,590
Powers of twoBetween 2^12 (4,096) and 2^13 (8,192)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 151the total stopping time
Highest value reached94,76822× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps4,159 → 12,478 → 6,239 → 18,718 → 9,359 → 28,078 → 14,039 → 42,118 → 21,059 → 63,178 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage415,900%
4,159% as a decimal41.59
4,159% of 1004,159
4,159% of 1,00041,590
As a fraction of 1004,159/100

Read another way

As bytes4.062 KiB
As a 24-bit colour#00103F

Keep nerding

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

Also reads as

4159 (year)

  • Common year
  • 365 days
  • 42nd century
  • Rabbit

4159 will be a common year of 365 days. It begins on a Monday and ends on a Monday. Easter Sunday falls on 22 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
Century42nd century
Decade4150s
Chinese zodiacRabbit
Easter Sunday22 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 as4153the most recent year whose calendar is identical, so a printed one could be reused
Calendar repeats in4170, 4181, 418711 years later, then again after that; the gap is 6, 11 or 28 years, broken by centuries that skip a leap year

Months of 4159

Time references

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

Unix timestamp at the start69,078,182,400
Unix timestamp at the end69,109,718,399
Years from now2,133 years from now
Days from today778,806 days to 1 January

The number 4159

As a number4,159
In wordsfour thousand, one hundred and fifty-nine
Roman numeralsNot defined above 3,999

Keep nerding

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

Also reads as

#441155 (colour)

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

#441155 is a violet with RGB values 68, 17, 85 and HSL 285°, 67%, 20%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#441155#441155
HEX#441155
HEX (short)#415
RGBrgb(68, 17, 85)
RGB (0–1)0.2667, 0.0667, 0.3333
RGB percentages26.7%, 6.7%, 33.3%
HSLhsl(285, 66.7%, 20%)
HSV / HSBhsv(285, 80%, 33.3%)
CMYK20%, 80%, 0%, 66.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer4,460,885
CSS custom property--colour: #441155;

Brightness & contrast

Relative luminance0.02286WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.41:1
Contrast with white14.41:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#BBEEAA

Colour vision & accessibility

Protanopia#002757no red cones; affects about 1% of men; ΔE 26.5 from the original
Deuteranopia#102B53no green cones; the most common form, about 1% of men; ΔE 29.4 from the original
Tritanopia#432032no blue cones; rare, and affects men and women equally; ΔE 29.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.41:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#225511
Analogous#221155, #551144
Triadic#554411, #115544
Split complementary#445511, #115522
Tetradic#552211, #225511, #114455

Tints, shades & saturation

Lighter +40%#BB55DD
Lighter +30%#AA2AD5
Lighter +20%#8822AA
Lighter +10%#661980
Darker −10%#22092B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4A0462
Less saturated −25%#3E1E48

Channel breakdown

R68
G17
B85
Red68 (26.7%)
Green17 (6.7%)
Blue85 (33.3%)
Hue285°
Saturation (HSL)66.67%
Lightness20%
Dominant channelBlue
Hex per channelR 44 · G 11 · B 55

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