Recognised as Number
31,502
- Positive
- Even
- Composite
- 5 digits
31,502 is an even 5-digit integer and a composite number. It has 8 divisors and a digital root of 2.
The canonical address for this page is /31502.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value31,502
Digit count5
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 × 19 × 829
Distinct prime factors32, 19, 829
Number of divisors8
Sum of divisors σ(n)49,800
Aliquot sum18,298sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)14,904integers below n that share no factor with it
Carmichael function λ(n)828the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 14,904
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 19, 38, 829, 1,658, 15,751, 31,5028 in total
Arithmetic
Representations
Decimal31,502
Binary11110110000111015 bits
Octal75416
Hexadecimal7B0E
Base 36OB2
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthirty-one thousand, five hundred and two
Ordinalthirty-one thousand, five hundred and second
Scientific notation3.1502 × 10^4
Engineering notation31.502 × 10^3
In other bases
Ternary1121012202base 3; the most digit-efficient integer base after e: 10 digits
Quinary2002002base 5; one hand: 7 digits
Septenary160562base 7: 6 digits
Nonary47182base 9; each digit is two ternary digits: 5 digits
Duodecimal16292base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimal3if2base 20; hands and feet, and the Mayan and Yoruba systems: 4 digits
Sexagesimal8:45:2base 60; Babylonian, and still how an hour and a circle are divided: 3 digits
Balanced ternary1TTT11T0T1Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary11000111100010010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
0111101100001110
Bit length15 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits6within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being even
Highest set bitbit 14worth 16,384
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes27b 0e
Gray code100011010001001n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit0111101100001110
32-bit00000000000000000111101100001110
64-bit0000000000000000000000000000000000000000000000000111101100001110
One's complement1000010011110001at 16 bits, every bit flipped
Bits reversed0111000011011110at 16 bits
Rotated left by 11111011000011100at 16 bits, wrapping
Shifted left by 11111011000011100= 63,004, no wrap
Shifted right by 111110110000111= 15,751, discarding the low bit
These bits as a double1.5564056 × 10^-319≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
31,502 to the power 2992,376,004
31,502 to the power 331,261,828,878,008
31,502 to the power 4984,810,133,315,008,016
31,502 to the power 531,023,488,819,689,382,520,032
First ten multiples31,502, 63,004, 94,506, 126,008, 157,510, 189,012, 220,514, 252,016, 283,518, 315,020
Powers of twoBetween 2^14 (16,384) and 2^15 (32,768)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 2
Divisible by 8No, remainder 6
Divisible by 9No, remainder 2
Divisible by 10No, remainder 2
Divisible by 11No, remainder 9
Divisible by 12No, remainder 2
Divisible by 100No, remainder 2
Collatz (3n + 1) trajectory
Steps to reach 1147the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps31,502 → 15,751 → 47,254 → 23,627 → 70,882 → 35,441 → 106,324 → 53,162 → 26,581 → 79,744 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage3,150,200%
31,502% as a decimal315.02
31,502% of 10031,502
31,502% of 1,000315,020
As a fraction of 10031,502/100
Read another way
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Derived from 31,502
Also reads as
#031502 (colour)
- #031502
- Green
- Dark
- Nearest: Black
#031502 is a green with RGB values 3, 21, 2 and HSL 117°, 83%, 5%. It is a dark colour, so white text on it reaches 18.9:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#031502#031502
HEX#031502
RGBrgb(3, 21, 2)
RGB (0–1)0.0118, 0.0824, 0.0078
RGB percentages1.2%, 8.2%, 0.8%
HSLhsl(116.8, 82.6%, 4.5%)
HSV / HSBhsv(116.8, 90.5%, 8.2%)
CMYK85.7%, 0%, 90.5%, 91.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer201,986
CSS custom property--colour: #031502;
Brightness & contrast
Relative luminance0.0056WCAG 2.x, 0 is black and 1 is white
Perceived brightness16.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.88:1
Contrast with white18.88:1WCAG normal text: AAA
Contrast with black1.11:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FCEAFD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.88:1WCAG large text: AAA
Contrast with black, large text1.11:1WCAG large text: Fail
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#140215
Analogous#0C1502, #02150B
Triadic#020315, #150203
Split complementary#0B0215, #15020C
Tetradic#020C15, #140215, #150B02
Tints, shades & saturation
Channel breakdown
R3
G21
B2
Red3 (1.2%)
Green21 (8.2%)
Blue2 (0.8%)
Hue116.84°
Saturation (HSL)82.61%
Lightness4.51%
Dominant channelGreen
Hex per channelR 03 · G 15 · B 02
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page