Recognised as Number
338,161
- Positive
- Odd
- Prime
- 6 digits
338,161 is an odd 6-digit integer and a prime number. It has 2 divisors and a digital root of 4.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value338,161
Digit count6
Digit sum22
Digit product432
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root4repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation338,161
Distinct prime factors1338,161
Number of divisors2
Sum of divisors σ(n)338,162
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)338,160integers below n that share no factor with it
Carmichael function λ(n)338,160the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)−11 distinct prime factor, an odd number of them
SquarefreeYesno repeated prime factor
All divisors1, 338,1612 in total
Arithmetic
Representations
Decimal338,161
Binary101001010001111000119 bits
Octal1224361
Hexadecimal528F1
Base 3678XD
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-eight thousand, one hundred and sixty-one
Ordinalthree hundred and thirty-eight thousand, one hundred and sixty-first
Scientific notation3.38161 × 10^5
Engineering notation338.161 × 10^3
In other bases
Ternary122011212111base 3; the most digit-efficient integer base after e: 12 digits
Quinary41310121base 5; one hand: 8 digits
Septenary2605615base 7: 7 digits
Nonary564774base 9; each digit is two ternary digits: 6 digits
Duodecimal143841base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal22581base 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:33:56:1base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T1TT0TT111digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111100100110001base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
00000000000001010010100011110001
Bit length19 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits10within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 18worth 262,144
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes305 28 f1
Gray code1111011110010001001n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
32-bit00000000000001010010100011110001
64-bit0000000000000000000000000000000000000000000001010010100011110001
One's complement11111111111110101101011100001110at 32 bits, every bit flipped
Bits reversed10001111000101001010000000000000at 32 bits
Rotated left by 100000000000010100101000111100010at 32 bits, wrapping
Shifted left by 110100101000111100010= 676,322, no wrap
Shifted right by 1101001010001111000= 169,080, discarding the low bit
These bits as a double1.67073733 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
338,161 to the power 2114,352,861,921
338,161 to the power 338,669,678,140,067,281
338,161 to the power 413,076,577,029,523,291,810,241
338,161 to the power 54,421,988,364,880,625,881,842,906,801
First ten multiples338,161, 676,322, 1,014,483, 1,352,644, 1,690,805, 2,028,966, 2,367,127, 2,705,288, 3,043,449, 3,381,610
Powers of twoBetween 2^18 (262,144) and 2^19 (524,288)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 1
Divisible by 5No, remainder 1
Divisible by 6No, remainder 1
Divisible by 7No, remainder 5
Divisible by 8No, remainder 1
Divisible by 9No, remainder 4
Divisible by 10No, remainder 1
Divisible by 11No, remainder 10
Divisible by 12No, remainder 1
Divisible by 100No, remainder 61
Collatz (3n + 1) trajectory
Steps to reach 165the total stopping time
Highest value reached1,014,4843× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps338,161 → 1,014,484 → 507,242 → 253,621 → 760,864 → 380,432 → 190,216 → 95,108 → 47,554 → 23,777 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage33,816,100%
338,161% as a decimal3,381.61
338,161% of 100338,161
338,161% of 1,0003,381,610
As a fraction of 100338,161/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,161
Also reads as
#338161 (colour)
- #338161
- Cyan
- Dark
- Nearest: Sea green
#338161 is a cyan with RGB values 51, 129, 97 and HSL 155°, 43%, 35%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Sea green.
Colour values
#338161#338161
HEX#338161
RGBrgb(51, 129, 97)
RGB (0–1)0.2, 0.5059, 0.3804
RGB percentages20%, 50.6%, 38%
HSLhsl(155.4, 43.3%, 35.3%)
HSV / HSBhsv(155.4, 60.5%, 50.6%)
CMYK60.5%, 0%, 24.8%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,375,457
CSS custom property--colour: #338161;
Brightness & contrast
Relative luminance0.17267WCAG 2.x, 0 is black and 1 is white
Perceived brightness107.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.72:1
Contrast with white4.72:1WCAG normal text: AA
Contrast with black4.45:1WCAG normal text: Fail
Greyscale equivalent#6E6E6E
Inverted#CC7E9E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.72:1WCAG large text: AAA
Contrast with black, large text4.45:1WCAG large text: AA
Named colours
Hue familycyan
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#813353
Analogous#33813A, #337A81
Triadic#613381, #816133
Split complementary#81337A, #813A33
Tetradic#3A3381, #813353, #7A8133
Tints, shades & saturation
Channel breakdown
R51
G129
B97
Red51 (20%)
Green129 (50.6%)
Blue97 (38%)
Hue155.38°
Saturation (HSL)43.33%
Lightness35.29%
Dominant channelGreen
Hex per channelR 33 · G 81 · B 61
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