Recognised as Number
122
- Positive
- Even
- Composite
- 3 digits
122 is an even 3-digit integer and a composite number. It has 4 divisors and a digital root of 5.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value122
Digit count3
Digit sum5
Digit product4
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root5repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation2 × 61
Distinct prime factors22, 61
Number of divisors4
Sum of divisors σ(n)186
Aliquot sum64sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)60integers below n that share no factor with it
Carmichael function λ(n)60the smallest exponent with aˣ ≡ 1 for every unit coprime to n
Möbius function μ(n)+12 distinct prime factors, an even number of them
SquarefreeYesno repeated prime factor
All divisors1, 2, 61, 1224 in total
Arithmetic
Representations
Decimal122
Binary11110107 bits
Octal172
Hexadecimal7A
Base 363E
Roman numeralCXXII
In wordsone hundred and twenty-two
Ordinalone hundred and twenty-second
Scientific notation1.22 × 10^2
Engineering notation122
In other bases
Ternary11112base 3; the most digit-efficient integer base after e — 5 digits
Quinary442base 5; one hand — 3 digits
Septenary233base 7 — 3 digits
Nonary145base 9; each digit is two ternary digits — 3 digits
Duodecimala2base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves — 2 digits
Vigesimal62base 20; hands and feet, and the Mayan and Yoruba systems — 2 digits
Sexagesimal2:2base 60; Babylonian, and still how an hour and a circle are divided — 2 digits
Balanced ternary1TTTTTdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110001110base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
01111010
Bit length7 bitsto write the magnitude
Set bits5the population count, or Hamming weight
Zero bits2within that length
Bit parityodd5 set bits, so odd; not the same as the number itself being even
Highest set bitbit 6worth 64
Lowest set bitbit 11 trailing zero
Power of twoNo
Bytes17a
Gray code1000111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
8-bit01111010
16-bit0000000001111010
32-bit00000000000000000000000001111010
64-bit0000000000000000000000000000000000000000000000000000000001111010
One's complement10000101at 8 bits, every bit flipped
Bits reversed01011110at 8 bits
Rotated left by 111110100at 8 bits, wrapping
Shifted left by 111110100= 244, no wrap
Shifted right by 1111101= 61, discarding the low bit
These bits as a double6.02760088 × 10^-322≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
122 to the power 214,884
122 to the power 31,815,848
122 to the power 4221,533,456
122 to the power 527,027,081,632
First ten multiples122, 244, 366, 488, 610, 732, 854, 976, 1,098, 1,220
Powers of twoBetween 2^6 (64) and 2^7 (128)
Divisibility tests
Divisible by 2Yes
Divisible by 3No, remainder 2
Divisible by 4No, remainder 2
Divisible by 5No, remainder 2
Divisible by 6No, remainder 2
Divisible by 7No, remainder 3
Divisible by 8No, remainder 2
Divisible by 9No, remainder 5
Divisible by 10No, remainder 2
Divisible by 11No, remainder 1
Divisible by 12No, remainder 2
Divisible by 100No, remainder 22
Collatz (3n + 1) trajectory
Steps to reach 120the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps122 → 61 → 184 → 92 → 46 → 23 → 70 → 35 → 106 → 53 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage12,200%
122% as a decimal1.22
122% of 100122
122% of 1,0001,220
As a fraction of 100122/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 122
Other readings
Also reads as
#112222 (colour)
- #112222
- Cyan
- Dark
- Nearest: Black
#112222 is a cyan with RGB values 17, 34, 34 and HSL 180°, 33%, 10%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#112222#112222
HEX#112222
HEX (short)#122
RGBrgb(17, 34, 34)
RGB (0–1)0.0667, 0.1333, 0.1333
RGB percentages6.7%, 13.3%, 13.3%
HSLhsl(180, 33.3%, 10%)
HSV / HSBhsv(180, 50%, 13.3%)
CMYK50%, 0%, 0%, 86.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,122,850
CSS custom property--colour: #112222;
Brightness & contrast
Relative luminance0.01379WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.46:1
Contrast with white16.46:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#EEDDDD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.46:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familycyan
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#221111
Analogous#11221A, #111A22
Triadic#221122, #222211
Split complementary#22111A, #221A11
Tetradic#1A1122, #221111, #1A2211
Tints, shades & saturation
Channel breakdown
R17
G34
B34
Red17 (6.7%)
Green34 (13.3%)
Blue34 (13.3%)
Hue180°
Saturation (HSL)33.33%
Lightness10%
Dominant channelGreen and Blue
Hex per channelR 11 · G 22 · B 22
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