Nerdulator> put something in

Recognised as Number

328

  • Positive
  • Even
  • Composite
  • 3 digits

328 is an even 3-digit integer and a composite number. It has 8 divisors and a digital root of 4.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value328
Digit count3
Digit sum13
Digit product48
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 factorisation2^3 × 41
Distinct prime factors22, 41
Number of divisors8
Sum of divisors σ(n)630
Aliquot sum302sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)160integers below n that share no factor with it
Carmichael function λ(n)40the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 160
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 8, 41, 82, 164, 3288 in total

Arithmetic

Previous number327
Next number329
Double656
Half164
Square107,584
Square root18.110770276≈irrational, shown to 9 decimal places
Cube root6.896434481≈
Negation-328
Reciprocal0.0030487805≈
328 factorial2601164799285135015713462792216859365922… (685 digits)

Representations

Decimal328
Binary1010010009 bits
Octal510
Hexadecimal148
Base 3694
Roman numeralCCCXXVIII
In wordsthree hundred and twenty-eight
Ordinalthree hundred and twenty-eighth
Scientific notation3.28 × 10^2
Engineering notation328

In other bases

Ternary110011base 3; the most digit-efficient integer base after e: 6 digits
Quinary2303base 5; one hand: 4 digits
Septenary646base 7: 3 digits
Nonary404base 9; each digit is two ternary digits: 3 digits
Duodecimal234base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimalg8base 20; hands and feet, and the Mayan and Yoruba systems: 2 digits
Sexagesimal5:28base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary110011digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary101011000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0000000101001000
Bit length9 bitsto write the magnitude
Set bits3the population count, or Hamming weight
Zero bits6within that length
Bit parityodd3 set bits, so odd; not the same as the number itself being even
Highest set bitbit 8worth 256
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes201 48
Gray code111101100n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0000000101001000
32-bit00000000000000000000000101001000
64-bit0000000000000000000000000000000000000000000000000000000101001000
One's complement1111111010110111at 16 bits, every bit flipped
Bits reversed0001001010000000at 16 bits
Rotated left by 10000001010010000at 16 bits, wrapping
Shifted left by 11010010000= 656, no wrap
Shifted right by 110100100= 164, discarding the low bit
These bits as a double1.62053532 × 10^-321≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime331+3
Previous prime317−11
Distance to nearest prime3
Nearest square below324
Nearest square above361

Powers & multiples

328 to the power 2107,584
328 to the power 335,287,552
328 to the power 411,574,317,056
328 to the power 53,796,375,994,368
First ten multiples328, 656, 984, 1,312, 1,640, 1,968, 2,296, 2,624, 2,952, 3,280
Powers of twoBetween 2^8 (256) and 2^9 (512)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 1112the total stopping time
Highest value reached9,23228× the starting value
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps328 → 164 → 82 → 41 → 124 → 62 → 31 → 94 → 47 → 142 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage32,800%
328% as a decimal3.28
328% of 100328
328% of 1,0003,280
As a fraction of 100328/100

Read another way

As bytes328 B
As a 24-bit colour#000148

Keep nerding

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

Also reads as

#332288 (colour)

  • #332288
  • Blue
  • Dark
  • Nearest: Midnight blue

#332288 is a blue with RGB values 51, 34, 136 and HSL 250°, 60%, 33%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Open this reading on its own page →

Colour values

#332288#332288
HEX#332288
HEX (short)#328
RGBrgb(51, 34, 136)
RGB (0–1)0.2, 0.1333, 0.5333
RGB percentages20%, 13.3%, 53.3%
HSLhsl(250, 60%, 33.3%)
HSV / HSBhsv(250, 75%, 53.3%)
CMYK62.5%, 75%, 0%, 46.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,351,176
CSS custom property--colour: #332288;

Brightness & contrast

Relative luminance0.03625WCAG 2.x, 0 is black and 1 is white
Perceived brightness59.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.17:1
Contrast with white12.17:1WCAG normal text: AAA
Contrast with black1.73:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#CCDD77

Colour vision & accessibility

Protanopia#00398Bno red cones; affects about 1% of men; ΔE 19.7 from the original
Deuteranopia#003286no green cones; the most common form, about 1% of men; ΔE 16.4 from the original
Tritanopia#003E53no blue cones; rare, and affects men and women equally; ΔE 59.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.17:1WCAG large text: AAA
Contrast with black, large text1.73:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 9.93, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#778822
Analogous#224488, #662288
Triadic#883322, #228833
Split complementary#886622, #448822
Tetradic#882244, #778822, #228866

Tints, shades & saturation

Lighter +40%#A092E4
Lighter +30%#7C69DA
Lighter +20%#5841CF
Lighter +10%#422CB1
Darker −10%#24185F
Darker −20%#140E36
Darker −30%#05030E
Darker −40%#000000
More saturated +25%#250D9D
Less saturated −25%#413773

Channel breakdown

R51
G34
B136
Red51 (20%)
Green34 (13.3%)
Blue136 (53.3%)
Hue250°
Saturation (HSL)60%
Lightness33.33%
Dominant channelBlue
Hex per channelR 33 · G 22 · 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 “328” by Nerdulator’s number engine. Nothing here was retrieved from a database of answers or written by a model.