Recognised as Number
338,502
- Positive
- Even
- Composite
- 6 digits
338,502 is an even 6-digit integer and a composite number. It has 8 divisors and a digital root of 3.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value338,502
Digit count6
Digit sum21
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root3repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 3 × 56,417
Distinct prime factors32, 3, 56,417
Number of divisors8
Sum of divisors σ(n)677,016
Aliquot sum338,514sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)112,832integers below n that share no factor with it
Carmichael function λ(n)56,416the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 112,832
Möbius function μ(n)−13 distinct prime factors, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 3, 6, 56,417, 112,834, 169,251, 338,5028 in total
Arithmetic
Representations
Decimal338,502
Binary101001010100100011019 bits
Octal1225106
Hexadecimal52A46
Base 36796U
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-eight thousand, five hundred and two
Ordinalthree hundred and thirty-eight thousand, five hundred and second
Scientific notation3.38502 × 10^5
Engineering notation338.502 × 10^3
In other bases
Ternary122012100010base 3; the most digit-efficient integer base after e: 12 digits
Quinary41313002base 5; one hand: 8 digits
Septenary2606613base 7: 7 digits
Nonary565303base 9; each digit is two ternary digits: 6 digits
Duodecimal143a86base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22652base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:34:1:42base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T1TT100010digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111111001011010base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010010101001000110
Bit length19 bitsto write the magnitude
Set bits8the population count, or Hamming weight
Zero bits11within that length
Bit parityeven8 set bits, so even; not the same as the number itself being even
Highest set bitbit 18worth 262,144
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes305 2a 46
Gray code1111011111101100101n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010010101001000110
64-bit0000000000000000000000000000000000000000000001010010101001000110
One's complement11111111111110101101010110111001at 32 bits, every bit flipped
Bits reversed01100010010101001010000000000000at 32 bits
Rotated left by 100000000000010100101010010001100at 32 bits, wrapping
Shifted left by 110100101010010001100= 677,004, no wrap
Shifted right by 1101001010100100011= 169,251, discarding the low bit
These bits as a double1.67242209 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
338,502 to the power 2114,583,604,004
338,502 to the power 338,786,779,122,562,008
338,502 to the power 413,129,402,306,545,484,832,016
338,502 to the power 54,444,328,939,570,259,706,607,080,032
First ten multiples338,502, 677,004, 1,015,506, 1,354,008, 1,692,510, 2,031,012, 2,369,514, 2,708,016, 3,046,518, 3,385,020
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2Yes
Divisible by 3Yes
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6Yes
Divisible by 7No, remainder 3
Divisible by 8No, remainder 6
Divisible by 9No, remainder 3
Divisible by 10No, remainder 2
Divisible by 11No, remainder 10
Divisible by 12No, remainder 6
Divisible by 100No, remainder 2
Collatz (3n + 1) trajectory
Steps to reach 183the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps338,502 → 169,251 → 507,754 → 253,877 → 761,632 → 380,816 → 190,408 → 95,204 → 47,602 → 23,801 → …
Last steps… → 32 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage33,850,200%
338,502% as a decimal3,385.02
338,502% of 100338,502
338,502% of 1,0003,385,020
As a fraction of 100338,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 338,502
Also reads as
#338502 (colour)
- #338502
- Green
- Dark
- Nearest: Green
#338502 is a green with RGB values 51, 133, 2 and HSL 98°, 97%, 26%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Green.
Colour values
#338502#338502
HEX#338502
RGBrgb(51, 133, 2)
RGB (0–1)0.2, 0.5216, 0.0078
RGB percentages20%, 52.2%, 0.8%
HSLhsl(97.6, 97%, 26.5%)
HSV / HSBhsv(97.6, 98.5%, 52.2%)
CMYK61.7%, 0%, 98.5%, 47.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,376,386
CSS custom property--colour: #338502;
Brightness & contrast
Relative luminance0.17483WCAG 2.x, 0 is black and 1 is white
Perceived brightness105.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.67:1
Contrast with white4.67:1WCAG normal text: AA
Contrast with black4.5:1WCAG normal text: Fail
Greyscale equivalent#6A6A6A
Inverted#CC7AFD
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.67:1WCAG large text: AAA
Contrast with black, large text4.5:1WCAG large text: AA
Named colours
Hue familygreen
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#540285
Analogous#748502, #028512
Triadic#023385, #850233
Split complementary#120285, #850275
Tetradic#027585, #540285, #851302
Tints, shades & saturation
Channel breakdown
R51
G133
B2
Red51 (20%)
Green133 (52.2%)
Blue2 (0.8%)
Hue97.56°
Saturation (HSL)97.04%
Lightness26.47%
Dominant channelGreen
Hex per channelR 33 · G 85 · 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