Nerdulator> put something in

Recognised as Number

3,159

  • Positive
  • Odd
  • Composite
  • 4 digits

3,159 is an odd 4-digit integer and a composite number. It has 12 divisors and a digital root of 9.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityComposite
Absolute value3,159
Digit count4
Digit sum18
Digit product135
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root9repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation3^5 × 13
Distinct prime factors23, 13
Number of divisors12
Sum of divisors σ(n)5,096
Aliquot sum1,937sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)1,944integers below n that share no factor with it
Carmichael function λ(n)324the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 1,944
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 3, 9, 13, 27, 39, 81, 117, 243, 351, 1,053, 3,15912 in total

Arithmetic

Previous number3,158
Next number3,160
Double6,318
Square9,979,281
Square root56.204981986irrational, shown to 9 decimal places
Cube root14.67291974
Negation-3,159
Reciprocal0.0003165559

Representations

Decimal3,159
Binary11000101011112 bits
Octal6127
HexadecimalC57
Base 362FR
Roman numeralMMMCLIX
In wordsthree thousand, one hundred and fifty-nine
Ordinalthree thousand, one hundred and fifty-ninth
Scientific notation3.159 × 10^3
Engineering notation3.159 × 10^3

In other bases

Ternary11100000base 3; the most digit-efficient integer base after e: 8 digits
Quinary100114base 5; one hand: 6 digits
Septenary12132base 7: 5 digits
Nonary4300base 9; each digit is two ternary digits: 4 digits
Duodecimal19b3base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 4 digits
Vigesimal7hjbase 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal52:39base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary11100000digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1110110101011base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0000110001010111
Bit length12 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits5within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 11worth 2,048
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes20c 57
Gray code101001111100n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0000110001010111
32-bit00000000000000000000110001010111
64-bit0000000000000000000000000000000000000000000000000000110001010111
One's complement1111001110101000at 16 bits, every bit flipped
Bits reversed1110101000110000at 16 bits
Rotated left by 10001100010101110at 16 bits, wrapping
Shifted left by 11100010101110= 6,318, no wrap
Shifted right by 111000101011= 1,579, discarding the low bit
These bits as a double1.56075338 × 10^-320IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime3,163+4
Previous prime3,137−22
Distance to nearest prime4
Nearest square below3,136
Nearest square above3,249

Powers & multiples

3,159 to the power 29,979,281
3,159 to the power 331,524,548,679
3,159 to the power 499,586,049,276,961
3,159 to the power 5314,592,329,665,919,799
First ten multiples3,159, 6,318, 9,477, 12,636, 15,795, 18,954, 22,113, 25,272, 28,431, 31,590
Powers of twoBetween 2^11 (2,048) and 2^12 (4,096)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1123the total stopping time
Highest value reached21,3286× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps3,159 → 9,478 → 4,739 → 14,218 → 7,109 → 21,328 → 10,664 → 5,332 → 2,666 → 1,333 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage315,900%
3,159% as a decimal31.59
3,159% of 1003,159
3,159% of 1,00031,590
As a fraction of 1003,159/100

Read another way

As bytes3.085 KiB
As a 24-bit colour#000C57

Keep nerding

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

Also reads as

3159 (year)

  • Common year
  • 365 days
  • 32nd century
  • Pig
  • 53 ISO weeks

3159 will be a common year of 365 days. It begins on a Thursday and ends on a Thursday. Easter Sunday falls on 29 March.

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 aThursday
31 December fell on aThursday
Century32nd century
Decade3150s
Chinese zodiacPig
Easter Sunday29 March

Patterns forced by the calendar

Weekday counts52 of each, plus an extra Thursday365 days is 52 weeks and 1 day, and the remainder starts on the weekday 1 January falls on
Sundays52
Mondays52
Tuesdays52
Wednesdays52
Thursdays53one of the extras
Fridays52
Saturdays52
Friday the 13th3 of them13 February, 13 March, 13 November
ISO weeks53a long year: 1 January is a Thursday, or a Wednesday in a leap year, so a week 53 exists
Same calendar as3153the most recent year whose calendar is identical, so a printed one could be reused
Calendar repeats in3170, 3181, 318711 years later, then again after that; the gap is 6, 11 or 28 years, broken by centuries that skip a leap year

Months of 3159

Time references

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

Unix timestamp at the start37,521,187,200
Unix timestamp at the end37,552,723,199
Years from now1,133 years from now
Days from today413,556 days to 1 January

The number 3159

As a number3,159
In wordsthree thousand, one hundred and fifty-nine
Roman numeralsMMMCLIX

Keep nerding

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

Also reads as

#331155 (colour)

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

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

Open this reading on its own page →

Colour values

#331155#331155
HEX#331155
HEX (short)#315
RGBrgb(51, 17, 85)
RGB (0–1)0.2, 0.0667, 0.3333
RGB percentages20%, 6.7%, 33.3%
HSLhsl(270, 66.7%, 20%)
HSV / HSBhsv(270, 80%, 33.3%)
CMYK40%, 80%, 0%, 66.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,346,773
CSS custom property--colour: #331155;

Brightness & contrast

Relative luminance0.01761WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.53:1
Contrast with white15.53:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#CCEEAA

Colour vision & accessibility

Protanopia#002357no red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#002454no green cones; the most common form, about 1% of men; ΔE 21.9 from the original
Tritanopia#2C2232no blue cones; rare, and affects men and women equally; ΔE 34.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.53:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#335511
Analogous#111155, #551155
Triadic#553311, #115533
Split complementary#555511, #115511
Tetradic#551111, #335511, #115555

Tints, shades & saturation

Lighter +40%#9955DD
Lighter +30%#802AD5
Lighter +20%#6622AA
Lighter +10%#4D1980
Darker −10%#1A092B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#330462
Less saturated −25%#331E48

Channel breakdown

R51
G17
B85
Red51 (20%)
Green17 (6.7%)
Blue85 (33.3%)
Hue270°
Saturation (HSL)66.67%
Lightness20%
Dominant channelBlue
Hex per channelR 33 · 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 “3159” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.