Nerdulator> put something in

Number

338

  • Positive
  • Even
  • Composite
  • 3 digits

338 is an even 3-digit integer and a composite number. It has 6 divisors and a digital root of 5.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value338
Digit count3
Digit sum14
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberYessquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum

Factors & divisors

Prime factorisation2 × 13^2
Distinct prime factors22, 13
Number of divisors6
Sum of divisors σ(n)549
Aliquot sum211sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)156integers below n that share no factor with it
SquarefreeNohas a repeated prime factor
All divisors1, 2, 13, 26, 169, 3386 in total

Arithmetic

Previous number337
Next number339
Double676
Half169
Square114,244
Square root18.384776311irrational, shown to 9 decimal places
Cube root6.965819768
Negation-338
Reciprocal0.0029585799
338 factorial4425528780239207948056735453693643382816… (710 digits)

Representations

Decimal338
Binary1010100109 bits
Octal522
Hexadecimal152
Base 369E
Roman numeralCCCXXXVIII
In wordsthree hundred and thirty-eight
Ordinalthree hundred and thirty-eighth
Scientific notation3.38 × 10^2
Engineering notation338

Nearest landmarks

Next prime347+9
Previous prime337−1
Distance to nearest prime1
Nearest square below324
Nearest square above361

Powers & multiples

338 to the power 2114,244
338 to the power 338,614,472
338 to the power 413,051,691,536
338 to the power 54,411,471,739,168
First ten multiples338, 676, 1,014, 1,352, 1,690, 2,028, 2,366, 2,704, 3,042, 3,380
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 150the total stopping time
Highest value reached4,37212× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps338 → 169 → 508 → 254 → 127 → 382 → 191 → 574 → 287 → 862 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage33,800%
338% as a decimal3.38
338% of 100338
338% of 1,0003,380
As a fraction of 100338/100

Read another way

As bytes338 B
As a 24-bit colour#000152

Keep nerding

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

Also reads as

#333388 (colour)

  • #333388
  • Blue
  • Dark
  • Nearest: Dark slateblue

#333388 is a blue with RGB values 51, 51, 136 and HSL 240°, 45%, 37%. It is a dark colour, so white text on it reaches 10.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Open this reading on its own page →

Colour values

#333388#333388
HEX#333388
HEX (short)#338
RGBrgb(51, 51, 136)
RGB (0–1)0.2, 0.2, 0.5333
RGB percentages20%, 20%, 53.3%
HSLhsl(240, 45.5%, 36.7%)
HSV / HSBhsv(240, 62.5%, 53.3%)
CMYK62.5%, 62.5%, 0%, 46.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer3,355,528
CSS custom property--colour: #333388;

Brightness & contrast

Relative luminance0.04849WCAG 2.x, 0 is black and 1 is white
Perceived brightness66.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.66:1
Contrast with white10.66:1WCAG normal text: AAA
Contrast with black1.97:1WCAG normal text: Fail
Greyscale equivalent#393939
Inverted#CCCC77

Colour vision & accessibility

Protanopia#00428Bno red cones; affects about 1% of men; ΔE 15 from the original
Deuteranopia#003B86no green cones; the most common form, about 1% of men; ΔE 12 from the original
Tritanopia#004858no blue cones; rare, and affects men and women equally; ΔE 51.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text10.66:1WCAG large text: AAA
Contrast with black, large text1.97:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 7.26, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#888833
Analogous#335E88, #5E3388
Triadic#883333, #338833
Split complementary#885E33, #5E8833
Tetradic#88335E, #888833, #33885E

Tints, shades & saturation

Lighter +40%#A8A8DF
Lighter +30%#8383D1
Lighter +20%#5E5EC3
Lighter +10%#4141AD
Darker −10%#252563
Darker −20%#17173E
Darker −30%#090919
Darker −40%#000000
More saturated +25%#1C1C9F
Less saturated −25%#4A4A71

Channel breakdown

R51
G51
B136
Red51 (20%)
Green51 (20%)
Blue136 (53.3%)
Hue240°
Saturation (HSL)45.45%
Lightness36.67%
Dominant channelBlue
Hex per channelR 33 · G 33 · B 88

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