Nerdulator> put something in

Recognised as Number

7,940

  • Positive
  • Even
  • Composite
  • 4 digits

7,940 is an even 4-digit integer and a composite number. It has 12 divisors and a digital root of 2.

Number properties

ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value7,940
Digit count4
Digit sum20
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times the digit product can be taken before one digit is left
Digital root2repeated digit sum
PalindromicNoreads differently backwards
Happy numberNosquared-digit sums reach 1
Harshad numberYesdivisible by its own digit sum

Factors & divisors

Prime factorisation2^2 × 5 × 397
Distinct prime factors32, 5, 397
Number of divisors12
Sum of divisors σ(n)16,716
Aliquot sum8,776sum of the proper divisors
ClassificationAbundantthe aliquot sum exceeds the number
Euler's totient φ(n)3,168integers below n that share no factor with it
Carmichael function λ(n)396the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 3,168
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 5, 10, 20, 397, 794, 1,588, 1,985, 3,970, 7,94012 in total

Arithmetic

Previous number7,939
Next number7,941
Double15,880
Half3,970
Square root89.10667764irrational, shown to 9 decimal places
Cube root19.949874477
Negation-7,940
Reciprocal0.0001259446

Representations

Decimal7,940
Binary111110000010013 bits
Octal17404
Hexadecimal1F04
Base 3664K
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsseven thousand, nine hundred and forty
Ordinalseven thousand, nine hundred and fortieth
Scientific notation7.94 × 10^3
Engineering notation7.94 × 10^3

In other bases

Ternary101220002base 3; the most digit-efficient integer base after e: 9 digits
Quinary223230base 5; one hand: 6 digits
Septenary32102base 7: 5 digits
Nonary11802base 9; each digit is two ternary digits: 5 digits
Duodecimal4718base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 4 digits
Vigesimaljh0base 20; hands and feet, and the Mayan and Yoruba systems: 3 digits
Sexagesimal2:12:20base 60; Babylonian, and still how an hour and a circle are divided: 3 digits
Balanced ternary11T0T001Tdigits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary110001100000100base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign

Bit-level

0001111100000100
Bit length13 bitsto write the magnitude
Set bits6the population count, or Hamming weight
Zero bits7within that length
Bit parityeven6 set bits, so even; not the same as the number itself being even
Highest set bitbit 12worth 4,096
Lowest set bitbit 22 trailing zeros
Power of twoNo
Bytes21f 04
Gray code1000010000110n XOR (n >> 1); successive values differ in exactly one bit

At each machine width

16-bit0001111100000100
32-bit00000000000000000001111100000100
64-bit0000000000000000000000000000000000000000000000000001111100000100
One's complement1110000011111011at 16 bits, every bit flipped
Bits reversed0010000011111000at 16 bits
Rotated left by 10011111000001000at 16 bits, wrapping
Shifted left by 111111000001000= 15,880, no wrap
Shifted right by 1111110000010= 3,970, discarding the low bit
These bits as a double3.92288123 × 10^-320IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)

Nearest landmarks

Next prime7,949+9
Previous prime7,937−3
Distance to nearest prime3
Nearest square below7,921
Nearest square above8,100

Powers & multiples

7,940 to the power 263,043,600
7,940 to the power 3500,566,184,000
7,940 to the power 43,974,495,500,960,000
7,940 to the power 531,557,494,277,622,400,000
First ten multiples7,940, 15,880, 23,820, 31,760, 39,700, 47,640, 55,580, 63,520, 71,460, 79,400
Powers of twoBetween 2^12 (4,096) and 2^13 (8,192)

Divisibility tests

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

Collatz (3n + 1) trajectory

Steps to reach 152the total stopping time
Highest value reached7,940
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps7,940 → 3,970 → 1,985 → 5,956 → 2,978 → 1,489 → 4,468 → 2,234 → 1,117 → 3,352 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1

As a percentage & fraction

As a percentage794,000%
7,940% as a decimal79.4
7,940% of 1007,940
7,940% of 1,00079,400
As a fraction of 1007,940/100

Read another way

As bytes7.754 KiB
As a 24-bit colour#001F04

Keep nerding

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

Also reads as

7940 (year)

  • Leap year
  • 366 days
  • 80th century
  • Dragon

7940 will be a leap year of 366 days. It begins on a Monday and ends on a Tuesday. Easter Sunday falls on 7 April.

Open this reading on its own page →

Structure of the year

Leap yearYesdivisible by 4, and by 400 if divisible by 100
Days in the year366
Days in February29
1 January fell on aMonday
31 December fell on aTuesday
Century80th century
Decade7940s
Chinese zodiacDragon
Easter Sunday7 April

Patterns forced by the calendar

Weekday counts52 of each, plus an extra Monday and Tuesday366 days is 52 weeks and 2 days, and the remainder starts on the weekday 1 January falls on
Sundays52
Mondays53one of the extras
Tuesdays53one of the extras
Wednesdays52
Thursdays52
Fridays52
Saturdays52
Friday the 13th2 of them13 September, 13 December
ISO weeks52an ordinary 52-week year
Same calendar as7912the most recent year whose calendar is identical, so a printed one could be reused
Calendar repeats in7968, 7996, 802428 years later, then again after that; the gap is 6, 11 or 28 years, broken by centuries that skip a leap year

Months of 7940

Time references

These values depend on today’s date and change daily.

Unix timestamp at the start188,394,940,800
Unix timestamp at the end188,426,563,199
Years from now5,914 years from now
Days from today2,159,782 days to 1 January

The number 7940

As a number7,940
In wordsseven thousand, nine hundred and forty
Roman numeralsNot defined above 3,999

Keep nerding

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

Also reads as

#779944 (colour)

  • #779944
  • Green
  • Dark
  • Nearest: Olivedrab

#779944 is a green with RGB values 119, 153, 68 and HSL 84°, 38%, 43%. It is a dark colour, so black text on it reaches 6.4:1 contrast (AA for normal text). The nearest named colour is Olivedrab.

Open this reading on its own page →

Colour values

#779944#779944
HEX#779944
HEX (short)#794
RGBrgb(119, 153, 68)
RGB (0–1)0.4667, 0.6, 0.2667
RGB percentages46.7%, 60%, 26.7%
HSLhsl(84, 38.5%, 43.3%)
HSV / HSBhsv(84, 55.6%, 60%)
CMYK22.2%, 0%, 55.6%, 40%naive device-independent conversion; real print needs an ICC profile
24-bit integer7,838,020
CSS custom property--colour: #779944;

Brightness & contrast

Relative luminance0.27122WCAG 2.x, 0 is black and 1 is white
Perceived brightness136 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.42:1
Contrast with white3.27:1WCAG normal text: Fail
Contrast with black6.42:1WCAG normal text: AA
Greyscale equivalent#8C8C8C
Inverted#8866BB

Colour vision & accessibility

Protanopia#A0903Cno red cones; affects about 1% of men; ΔE 22.2 from the original
Deuteranopia#9B8E49no green cones; the most common form, about 1% of men; ΔE 21.6 from the original
Tritanopia#7B9386no blue cones; rare, and affects men and women equally; ΔE 39.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text3.27:1WCAG large text: AA
Contrast with black, large text6.42:1WCAG large text: AAA

Named colours

Nearest named CSS colourOlivedrab (#6B8E23)ΔE 10.61, a distinctly different colour
Hue familygreen
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#664499
Analogous#999144, #4D9944
Triadic#447799, #994477
Split complementary#444D99, #914499
Tetradic#449991, #664499, #99444C

Tints, shades & saturation

Lighter +40%#D8E5C4
Lighter +30%#C0D5A1
Lighter +20%#A9C57E
Lighter +10%#91B65A
Darker −10%#5C7634
Darker −20%#405225
Darker −30%#252F15
Darker −40%#090C05
More saturated +25%#7DB528
Less saturated −25%#717D60

Channel breakdown

R119
G153
B68
Red119 (46.7%)
Green153 (60%)
Blue68 (26.7%)
Hue84°
Saturation (HSL)38.46%
Lightness43.33%
Dominant channelGreen
Hex per channelR 77 · G 99 · B 44

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