Nerdulator> put something in

Recognised as Number

1,258

  • Positive
  • Even
  • Composite
  • 4 digits

1,258 is an even 4-digit integer and a composite number. It has 8 divisors and a digital root of 7.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value1,258
Digit count4
Digit sum16
Digit product80
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 17 × 37
Distinct prime factors32, 17, 37
Number of divisors8
Sum of divisors σ(n)2,052
Aliquot sum794sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)576integers below n that share no factor with it
Carmichael function λ(n)144the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 576
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 17, 34, 37, 74, 629, 1,2588 in total

Arithmetic

Previous number1,257
Next number1,259
Double2,516
Half629
Square1,582,564
Square root35.468295702irrational, shown to 9 decimal places
Cube root10.795105235
Negation-1,258
Reciprocal0.0007949126

Representations

Decimal1,258
Binary1001110101011 bits
Octal2352
Hexadecimal4EA
Base 36YY
Roman numeralMCCLVIII
In wordsone thousand, two hundred and fifty-eight
Ordinalone thousand, two hundred and fifty-eighth
Scientific notation1.258 × 10^3
Engineering notation1.258 × 10^3

In other bases

Ternary1201121base 3; the most digit-efficient integer base after e: 7 digits
Quinary20013base 5; one hand: 5 digits
Septenary3445base 7: 4 digits
Nonary1647base 9; each digit is two ternary digits: 4 digits
Duodecimal88abase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimal32ibase 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal20:58base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary1TT1TTT1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary10100111110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0000010011101010
Bit length11 bitsto write the magnitude
Set bits6the population count, or Hamming weight
Zero bits5within that length
Bit parityeven6 set bits, so even; not the same as the number itself being even
Highest set bitbit 10worth 1,024
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes204 ea
Gray code11010011111n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0000010011101010
32-bit00000000000000000000010011101010
64-bit0000000000000000000000000000000000000000000000000000010011101010
One's complement1111101100010101at 16 bits, every bit flipped
Bits reversed0101011100100000at 16 bits
Rotated left by 10000100111010100at 16 bits, wrapping
Shifted left by 1100111010100= 2,516, no wrap
Shifted right by 11001110101= 629, discarding the low bit
These bits as a double6.21534582 × 10^-321IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime1,259+1
Previous prime1,249−9
Distance to nearest prime1
Nearest square below1,225
Nearest square above1,296

Powers & multiples

1,258 to the power 21,582,564
1,258 to the power 31,990,865,512
1,258 to the power 42,504,508,814,096
1,258 to the power 53,150,672,088,132,768
First ten multiples1,258, 2,516, 3,774, 5,032, 6,290, 7,548, 8,806, 10,064, 11,322, 12,580
Powers of twoBetween 2^10 (1,024) and 2^11 (2,048)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 139the total stopping time
Highest value reached1,8881× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps1,258 → 629 → 1,888 → 944 → 472 → 236 → 118 → 59 → 178 → 89 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage125,800%
1,258% as a decimal12.58
1,258% of 1001,258
1,258% of 1,00012,580
As a fraction of 1001,258/100

Read another way

As bytes1.229 KiB
As a year1258 AD
As a 24-bit colour#0004EA

Keep nerding

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

Also reads as

1258 (year)

  • Common year
  • 365 days
  • 13th century
  • Horse

1258 was a common year of 365 days. It began on a Tuesday and ended on a Tuesday. Easter Sunday fell on 31 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 aTuesday
31 December fell on aTuesday
Century13th century
Decade1250s
Chinese zodiacHorse
Easter Sunday31 March

Patterns forced by the calendar

Weekday counts52 of each, plus an extra Tuesday365 days is 52 weeks and 1 day, and the remainder starts on the weekday 1 January falls on
Sundays52
Mondays52
Tuesdays53one of the extras
Wednesdays52
Thursdays52
Fridays52
Saturdays52
Friday the 13th2 of them13 September, 13 December
ISO weeks52an ordinary 52-week year
Same calendar as1247the most recent year whose calendar is identical, so a printed one could be reused
Calendar repeats in1269, 1275, 128611 years later, then again after that; the gap is 6, 11 or 28 years, broken by centuries that skip a leap year

Months of 1258

Time references

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

Unix timestamp at the start-22,468,492,800
Unix timestamp at the end-22,436,956,801
Years from now768 years ago
Days from today280,764 days since 1 January

The number 1258

As a number1,258
In wordsone thousand, two hundred and fifty-eight
Roman numeralsMCCLVIII

Keep nerding

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

Also reads as

#112255 (colour)

  • #112255
  • Blue
  • Dark
  • Nearest: Dark slateblue

#112255 is a blue with RGB values 17, 34, 85 and HSL 225°, 67%, 20%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Open this reading on its own page →

Colour values

#112255#112255
HEX#112255
HEX (short)#125
RGBrgb(17, 34, 85)
RGB (0–1)0.0667, 0.1333, 0.3333
RGB percentages6.7%, 13.3%, 33.3%
HSLhsl(225, 66.7%, 20%)
HSV / HSBhsv(225, 80%, 33.3%)
CMYK80%, 60%, 0%, 66.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer1,122,901
CSS custom property--colour: #112255;

Brightness & contrast

Relative luminance0.01919WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.18:1
Contrast with white15.18:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#EEDDAA

Colour vision & accessibility

Protanopia#002957no red cones; affects about 1% of men; ΔE 6.8 from the original
Deuteranopia#002354no green cones; the most common form, about 1% of men; ΔE 3.2 from the original
Tritanopia#002E37no blue cones; rare, and affects men and women equally; ΔE 33.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.18:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 21.99, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

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

Tints, shades & saturation

Lighter +40%#5577DD
Lighter +30%#2A55D5
Lighter +20%#2244AA
Lighter +10%#193380
Darker −10%#09112B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#041C62
Less saturated −25%#1E2848

Channel breakdown

R17
G34
B85
Red17 (6.7%)
Green34 (13.3%)
Blue85 (33.3%)
Hue225°
Saturation (HSL)66.67%
Lightness20%
Dominant channelBlue
Hex per channelR 11 · G 22 · 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 “1258” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.