Nerdulator> put something in

Recognised as Number

338,171

  • Positive
  • Odd
  • Prime
  • 6 digits

338,171 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 value338,171
Digit count6
Digit sum23
Digit product504
Multiplicative persistence2times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation338,171
Distinct prime factors1338,171
Number of divisors2
Sum of divisors σ(n)338,172
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)338,170integers below n that share no factor with it
Carmichael function λ(n)338,170the 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,1712 in total

Arithmetic

Previous number338,170
Next number338,172
Double676,342
Cube38,673,108,827,374,211
Square root581.524720025≈irrational, shown to 9 decimal places
Cube root69.669942791≈
Negation-338,171
Reciprocal0.0000029571≈

Representations

Decimal338,171
Binary101001010001111101119 bits
Octal1224373
Hexadecimal528FB
Base 3678XN
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsthree hundred and thirty-eight thousand, one hundred and seventy-one
Ordinalthree hundred and thirty-eight thousand, one hundred and seventy-first
Scientific notation3.38171 × 10^5
Engineering notation338.171 × 10^3

In other bases

Ternary122011212212base 3; the most digit-efficient integer base after e: 12 digits
Quinary41310141base 5; one hand: 8 digits
Septenary2605631base 7: 7 digits
Nonary564785base 9; each digit is two ternary digits: 6 digits
Duodecimal14384bbase 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 6 digits
Vigesimal2258bbase 20; hands and feet, and the Mayan and Yoruba systems: 5 digits
Sexagesimal1:33:56:11base 60; Babylonian, and still how an hour and a circle are divided: 4 digits
Balanced ternary1T0T1TT0T00TTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary1010111100100001111base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

00000000000001010010100011111011
Bit length19 bitsto write the magnitude
Set bits11the population count, or Hamming weight
Zero bits8within that length
Bit parityodd11 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 fb
Gray code1111011110010000110n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

32-bit00000000000001010010100011111011
64-bit0000000000000000000000000000000000000000000001010010100011111011
One's complement11111111111110101101011100000100at 32 bits, every bit flipped
Bits reversed11011111000101001010000000000000at 32 bits
Rotated left by 100000000000010100101000111110110at 32 bits, wrapping
Shifted left by 110100101000111110110= 676,342, no wrap
Shifted right by 1101001010001111101= 169,085, discarding the low bit
These bits as a double1.67078674 × 10^-318≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime338,183+12
Previous prime338,167−4
Distance to nearest prime0, it is prime
Nearest square below337,561
Nearest square above338,724

Powers & multiples

338,171 to the power 2114,359,625,241
338,171 to the power 338,673,108,827,374,211
338,171 to the power 413,078,123,885,261,964,308,081
338,171 to the power 54,422,642,232,402,923,732,028,059,851
First ten multiples338,171, 676,342, 1,014,513, 1,352,684, 1,690,855, 2,029,026, 2,367,197, 2,705,368, 3,043,539, 3,381,710
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 3
Divisible by 5No, remainder 1
Divisible by 6No, remainder 5
Divisible by 7No, remainder 1
Divisible by 8No, remainder 3
Divisible by 9No, remainder 5
Divisible by 10No, remainder 1
Divisible by 11No, remainder 9
Divisible by 12No, remainder 11
Divisible by 100No, remainder 71

Collatz (3n + 1) trajectory

Steps to reach 1109the total stopping time
Highest value reached6,500,24819× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps338,171 → 1,014,514 → 507,257 → 1,521,772 → 760,886 → 380,443 → 1,141,330 → 570,665 → 1,711,996 → 855,998 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage33,817,100%
338,171% as a decimal3,381.71
338,171% of 100338,171
338,171% of 1,0003,381,710
As a fraction of 100338,171/100

Read another way

As bytes330.245 KiB
As a 24-bit colour#0528FB

Keep nerding

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

Also reads as

#338171 (colour)

  • #338171
  • Cyan
  • Dark
  • Nearest: Teal

#338171 is a cyan with RGB values 51, 129, 113 and HSL 168°, 43%, 35%. It is a dark colour, so white text on it reaches 4.6:1 contrast (AA for normal text). The nearest named colour is Teal.

Open this reading on its own page →

Colour values

#338171#338171
HEX#338171
RGBrgb(51, 129, 113)
RGB (0–1)0.2, 0.5059, 0.4431
RGB percentages20%, 50.6%, 44.3%
HSLhsl(167.7, 43.3%, 35.3%)
HSV / HSBhsv(167.7, 60.5%, 50.6%)
CMYK60.5%, 0%, 12.4%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,375,473
CSS custom property--colour: #338171;

Brightness & contrast

Relative luminance0.17597WCAG 2.x, 0 is black and 1 is white
Perceived brightness109.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.65:1
Contrast with white4.65:1WCAG normal text: AA
Contrast with black4.52:1WCAG normal text: AA
Greyscale equivalent#6F6F6F
Inverted#CC7E8E

Colour vision & accessibility

Protanopia#7C7970no red cones; affects about 1% of men; ΔE 27.7 from the original
Deuteranopia#707172no green cones; the most common form, about 1% of men; ΔE 27.9 from the original
Tritanopia#00837Cno blue cones; rare, and affects men and women equally; ΔE 7.3 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text4.65:1WCAG large text: AAA
Contrast with black, large text4.52:1WCAG large text: AAA

Named colours

Nearest named CSS colourTeal (#008080)ΔE 10.09, a distinctly different colour
Hue familycyan
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#813343
Analogous#33814A, #336A81
Triadic#713381, #817133
Split complementary#81336A, #814A33
Tetradic#4A3381, #813343, #6A8133

Tints, shades & saturation

Lighter +40%#A5DBD0
Lighter +30%#80CDBD
Lighter +20%#5CBEAA
Lighter +10%#41A691
Darker −10%#255C51
Darker −20%#163831
Darker −30%#081311
Darker −40%#000000
More saturated +25%#1C987E
Less saturated −25%#4A6A64

Channel breakdown

R51
G129
B113
Red51 (20%)
Green129 (50.6%)
Blue113 (44.3%)
Hue167.69°
Saturation (HSL)43.33%
Lightness35.29%
Dominant channelGreen
Hex per channelR 33 · G 81 · B 71

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