Recognised as Number
40,408
- Positive
- Even
- Composite
- 5 digits
40,408 is an even 5-digit integer and a composite number. It has 8 divisors and a digital root of 7.
Number properties
ParityEvendivisible by 2
SignPositive
PrimalityComposite
Absolute value40,408
Digit count5
Digit sum16
Digit product0zero, because one of the digits is zero
Multiplicative persistence1times 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 factorisation2^3 × 5,051
Distinct prime factors22, 5,051
Number of divisors8
Sum of divisors σ(n)75,780
Aliquot sum35,372sum of the proper divisors
ClassificationDeficientthe aliquot sum is less than the number
Euler's totient φ(n)20,200integers below n that share no factor with it
Carmichael function λ(n)5,050the smallest exponent with aˣ ≡ 1 for every unit; smaller than φ(n) = 20,200
Möbius function μ(n)0zero, because a prime divides n twice
SquarefreeNohas a repeated prime factor
All divisors1, 2, 4, 8, 5,051, 10,102, 20,204, 40,4088 in total
Arithmetic
Representations
Decimal40,408
Binary100111011101100016 bits
Octal116730
Hexadecimal9DD8
Base 36V6G
Roman numeralNot defined above 3,999there is no agreed standard notation
In wordsforty thousand, four hundred and eight
Ordinalforty thousand, four hundred and eighth
Scientific notation4.0408 × 10^4
Engineering notation40.408 × 10^3
In other bases
Ternary2001102121base 3; the most digit-efficient integer base after e: 10 digits
Quinary2243113base 5; one hand: 7 digits
Septenary225544base 7: 6 digits
Nonary61377base 9; each digit is two ternary digits: 5 digits
Duodecimal1b474base 12; divides by 2, 3, 4 and 6, which is why eggs and inches come in twelves: 5 digits
Vigesimal5108base 20; hands and feet, and the Mayan and Yoruba systems: 4 digits
Sexagesimal11:13:28base 60; Babylonian, and still how an hour and a circle are divided: 3 digits
Balanced ternary1T001110TT1digits −1, 0 and +1 written T, 0 and 1; negation is swapping T and 1, so no sign is needed
Negabinary11110001000101000base −2; place values alternate 1, −2, 4, −8, so every integer has exactly one form without a sign
Bit-level
1001110111011000
Bit length16 bitsto write the magnitude
Set bits9the population count, or Hamming weight
Zero bits7within that length
Bit parityodd9 set bits, so odd; not the same as the number itself being even
Highest set bitbit 15worth 32,768
Lowest set bitbit 33 trailing zeros
Power of twoNo
Bytes29d d8
Gray code1101001100110100n XOR (n >> 1); successive values differ in exactly one bit
At each machine width
16-bit1001110111011000
32-bit00000000000000001001110111011000
64-bit0000000000000000000000000000000000000000000000001001110111011000
One's complement0110001000100111at 16 bits, every bit flipped
Bits reversed0001101110111001at 16 bits
Rotated left by 10011101110110001at 16 bits, wrapping
Shifted left by 110011101110110000= 80,816, no wrap
Shifted right by 1100111011101100= 20,204, discarding the low bit
These bits as a double1.99642046 × 10^-319≈IEEE-754 binary64 reinterpretation of the same 64 bits (subnormal)
Nearest landmarks
Powers & multiples
40,408 to the power 21,632,806,464
40,408 to the power 365,978,443,597,312
40,408 to the power 42,666,056,948,880,183,296
40,408 to the power 5107,730,029,190,350,446,624,768
First ten multiples40,408, 80,816, 121,224, 161,632, 202,040, 242,448, 282,856, 323,264, 363,672, 404,080
Powers of twoBetween 2^15 (32,768) and 2^16 (65,536)
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 4
Divisible by 8Yes
Divisible by 9No, remainder 7
Divisible by 10No, remainder 8
Divisible by 11No, remainder 5
Divisible by 12No, remainder 4
Divisible by 100No, remainder 8
Collatz (3n + 1) trajectory
Steps to reach 188the total stopping time
Highest value reached40,408
Reaches 1Yesthe Collatz conjecture says every positive integer does, but it is unproven
First steps40,408 → 20,204 → 10,102 → 5,051 → 15,154 → 7,577 → 22,732 → 11,366 → 5,683 → 17,050 → …
Last steps… → 5 → 16 → 8 → 4 → 2 → 1
As a percentage & fraction
As a percentage4,040,800%
40,408% as a decimal404.08
40,408% of 10040,408
40,408% of 1,000404,080
As a fraction of 10040,408/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 40,408
Nerdulate something else
Nothing in mind? Surprise me · today’s page