4040 has 16 divisors (see below), whose sum is σ = 9180.
Its totient is φ = 1600.
The previous prime is 4027. The next prime is 4049. The reversal of 4040 is 404.
Adding to 4040 its reverse (404), we get a palindrome (4444).
4040 = T5 + T6 + ... +
It is a happy number.
It can be written as a sum of positive squares in 2 ways, for example, as 3844 + 196 = 62^2 + 14^2
It is a Harshad number since it is a multiple of its sum of digits (8).
It is a super Niven number, because it is divisible the sum of any subset of its (nonzero) digits.
It is an Ulam number.
4040 is an undulating number in base 10.
It is a plaindrome in base 14.
It is a nialpdrome in base 8 and base 16.
It is not an unprimeable number, because it can be changed into a prime (4049) by changing a digit.
It is a pernicious number, because its binary representation contains a prime number (7) of ones.
It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 11 + ... + 90.
24040 is an apocalyptic number.
4040 is a gapful number since it is divisible by the number (40) formed by its first and last digit.
It is an amenable number.
4040 is an abundant number, since it is smaller than the sum of its proper divisors (5140).
It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.
It is a Zumkeller number, because its divisors can be partitioned in two sets with the same sum (4590).
4040 is a wasteful number, since it uses less digits than its factorization.
4040 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 112 (or 108 counting only the distinct ones).
The product of its (nonzero) digits is 16, while the sum is 8.
The square root of 4040 is about 63.5609943283.
The cubic root of 4040 is about 15.9267484836.
The spelling of 4040 in words is "four thousand, forty", and thus it is an eban number and an iban number.