Nerdulator> put something in

Number

505,157

  • Positive
  • Odd
  • Prime
  • 6 digits

505,157 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 5.

Number properties

ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value505,157
Digit count6
Digit sum23
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation505,157
Distinct prime factors1505,157
Number of divisors2
Sum of divisors σ(n)505,158
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)505,156integers below n that share no factor with it
SquarefreeYesno repeated prime factor
All divisors1, 505,1572 in total

Arithmetic

Previous number505,156
Next number505,158
Double1,010,314
Cube128,907,779,122,104,893
Square root710.743976408irrational, shown to 9 decimal places
Cube root79.641994036
Negation-505,157
Reciprocal0.0000019796

Representations

Decimal505,157
Binary111101101010100010119 bits
Octal1732505
Hexadecimal7B545
Base 36ATS5
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsfive hundred and five thousand, one hundred and fifty-seven
Ordinalfive hundred and five thousand, one hundred and fifty-seventh
Scientific notation5.05157 × 10^5
Engineering notation505.157 × 10^3

Nearest landmarks

Next prime505,159+2
Previous prime505,139−18
Distance to nearest prime0, it is prime
Nearest square below504,100
Nearest square above505,521

Powers & multiples

505,157 to the power 2255,183,594,649
505,157 to the power 3128,907,779,122,104,893
505,157 to the power 465,118,666,977,985,141,433,201
505,157 to the power 532,895,150,454,598,040,090,971,517,557
First ten multiples505,157, 1,010,314, 1,515,471, 2,020,628, 2,525,785, 3,030,942, 3,536,099, 4,041,256, 4,546,413, 5,051,570
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1182the total stopping time
Highest value reached1,515,4723× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps505,157 → 1,515,472 → 757,736 → 378,868 → 189,434 → 94,717 → 284,152 → 142,076 → 71,038 → 35,519 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage50,515,700%
505,157% as a decimal5,051.57
505,157% of 100505,157
505,157% of 1,0005,051,570
As a fraction of 100505,157/100

Read another way

As bytes493.317 KiB
As a 24-bit colour#07B545

Keep nerding

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

Also reads as

#505157 (colour)

  • #505157
  • Grey
  • Dark
  • Nearest: Dim grey

#505157 is a grey with RGB values 80, 81, 87 and HSL 231°, 4%, 33%. It is a dark colour, so white text on it reaches 7.9:1 contrast (AAA for normal text). The nearest named colour is Dim grey.

Open this reading on its own page →

Colour values

#505157#505157
HEX#505157
RGBrgb(80, 81, 87)
RGB (0–1)0.3137, 0.3176, 0.3412
RGB percentages31.4%, 31.8%, 34.1%
HSLhsl(231.4, 4.2%, 32.7%)
HSV / HSBhsv(231.4, 8%, 34.1%)
CMYK8%, 6.9%, 0%, 65.9%naive device-independent conversion; real print needs an ICC profile
24-bit integer5,263,703
CSS custom property--colour: #505157;

Brightness & contrast

Relative luminance0.08278WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.91:1
Contrast with white7.91:1WCAG normal text: AAA
Contrast with black2.66:1WCAG normal text: Fail
Greyscale equivalent#515151
Inverted#AFAEA8

Colour vision & accessibility

Protanopia#505257no red cones; affects about 1% of men; ΔE 0.8 from the original
Deuteranopia#4F5157no green cones; the most common form, about 1% of men; ΔE 0.4 from the original
Tritanopia#4F5253no blue cones; rare, and affects men and women equally; ΔE 3.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text7.91:1WCAG large text: AAA
Contrast with black, large text2.66:1WCAG large text: Fail

Named colours

Nearest named CSS colourDim grey (#696969)ΔE 10.55, a distinctly different colour
Hue familygrey
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#575650
Analogous#505457, #525057
Triadic#575051, #515750
Split complementary#575250, #545750
Tetradic#575054, #575650, #505752

Tints, shades & saturation

Lighter +40%#B7B7BC
Lighter +30%#9C9DA4
Lighter +20%#81838C
Lighter +10%#686A72
Darker −10%#38383C
Darker −20%#1F2022
Darker −30%#070707
Darker −40%#000000
More saturated +25%#3B426C
Less saturated −25%#535353

Channel breakdown

R80
G81
B87
Red80 (31.4%)
Green81 (31.8%)
Blue87 (34.1%)
Hue231.43°
Saturation (HSL)4.19%
Lightness32.75%
Dominant channelBlue
Hex per channelR 50 · G 51 · B 57

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