Recognised as Number
997
- Positive
- Odd
- Prime
- 3 digits
997 is an odd 3-digit integer and a prime number. It has 2 divisors and a digital root of 7.
Number properties
ParityOddnot divisible by 2
SignPositive
PrimalityPrime
Absolute value997
Digit count3
Digit sum25
Digit product567
Multiplicative persistence3times the digit product can be taken before one digit is left
Digital root7repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberNodivisible by its own digit sum
Factors & divisors
Prime factorisation997
Distinct prime factors1997
Number of divisors2
Sum of divisors σ(n)998
Aliquot sum1sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)996integers below n that share no factor with it
Carmichael function λ(n)996the 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, 9972 in total
Arithmetic
Representations
Decimal997
Binary111110010110 bits
Octal1745
Hexadecimal3E5
Base 36RP
Roman numeralCMXCVII
In wordsnine hundred and ninety-seven
Ordinalnine hundred and ninety-seventh
Scientific notation9.97 × 10^2
Engineering notation997
In other bases
Ternary1100221base 3; the most digit-efficient integer base after e: 7 digits
Quinary12442base 5; one hand: 5 digits
Septenary2623base 7: 4 digits
Nonary1327base 9; each digit is two ternary digits: 4 digits
Duodecimal6b1base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 3 digits
Vigesimal29hbase 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal16:37base 60; Babylonian, and still how an hour and a circle are divided: 2 digits
Balanced ternary11010T1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary10000100101base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
0000001111100101
Bit length10 bitsto write the magnitude
Set bits7the population count, or Hamming weight
Zero bits3within that length
Bit parityodd7 set bits, so odd; not the same as the number itself being odd
Highest set bitbit 9worth 512
Lowest set bitbit 00 trailing zeros
Power of twoNo
Bytes203 e5
Gray code1000010111n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit0000001111100101
32-bit00000000000000000000001111100101
64-bit0000000000000000000000000000000000000000000000000000001111100101
One's complement1111110000011010at 16 bits, every bit flipped
Bits reversed1010011111000000at 16 bits
Rotated left by 10000011111001010at 16 bits, wrapping
Shifted left by 111111001010= 1,994, no wrap
Shifted right by 1111110010= 498, discarding the low bit
These bits as a double4.92583449 × 10^-321≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
997 to the power 2994,009
997 to the power 3991,026,973
997 to the power 4988,053,892,081
997 to the power 5985,089,730,404,757
First ten multiples997, 1,994, 2,991, 3,988, 4,985, 5,982, 6,979, 7,976, 8,973, 9,970
Powers of twoBetween 2^9 (512) and 2^10 (1,024)
Divisibility tests
Divisible by 2No, remainder 1
Divisible by 3No, remainder 1
Divisible by 4No, remainder 1
Divisible by 5No, remainder 2
Divisible by 6No, remainder 1
Divisible by 7No, remainder 3
Divisible by 8No, remainder 5
Divisible by 9No, remainder 7
Divisible by 10No, remainder 7
Divisible by 11No, remainder 7
Divisible by 12No, remainder 1
Divisible by 100No, remainder 97
Collatz (3n + 1) trajectory
Steps to reach 149the total stopping time
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps997 → 2,992 → 1,496 → 748 → 374 → 187 → 562 → 281 → 844 → 422 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage99,700%
997% as a decimal9.97
997% of 100997
997% of 1,0009,970
As a fraction of 100997/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 997
Other readings
Also reads as
#999977 (colour)
- #999977
- Yellow
- Dark
- Nearest: Tan
#999977 is a yellow with RGB values 153, 153, 119 and HSL 60°, 14%, 53%. It is a dark colour, so black text on it reaches 7.2:1 contrast (AAA for normal text). The nearest named colour is Tan.
Colour values
#999977#999977
HEX#999977
HEX (short)#997
RGBrgb(153, 153, 119)
RGB (0–1)0.6, 0.6, 0.4667
RGB percentages60%, 60%, 46.7%
HSLhsl(60, 14.3%, 53.3%)
HSV / HSBhsv(60, 22.2%, 60%)
CMYK0%, 0%, 22.2%, 40%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,066,295
CSS custom property--colour: #999977;
Brightness & contrast
Relative luminance0.30887WCAG 2.x, 0 is black and 1 is white
Perceived brightness149.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 7.18:1
Contrast with white2.93:1WCAG normal text: Fail
Contrast with black7.18:1WCAG normal text: AAA
Greyscale equivalent#979797
Inverted#666688
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text2.93:1WCAG large text: Fail
Contrast with black, large text7.18:1WCAG large text: AAA
Named colours
Hue familyyellow
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#777799
Analogous#998877, #889977
Triadic#779999, #997799
Split complementary#778899, #887799
Tetradic#779988, #777799, #997788
Tints, shades & saturation
Channel breakdown
R153
G153
B119
Red153 (60%)
Green153 (60%)
Blue119 (46.7%)
Hue60°
Saturation (HSL)14.29%
Lightness53.33%
Dominant channelRed and Green
Hex per channelR 99 · G 99 · B 77
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