2540 has 12 divisors (see below), whose sum is σ = 5376.
Its totient is φ = 1008.
The previous prime is 2539. The next prime is 2543. The reversal of 2540 is 452.
2540 is an esthetic number in base 9, because in such base its adjacent digits differ by 1.
It is a sliding number, since 2540 = 40 + 2500 and 1/40 + 1/2500 = 0.02540.
It is a plaindrome in base 11 and base 12.
It is not an unprimeable number, because it can be changed into a prime (2543) 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, 44 + ... + 83.
It is an arithmetic number, because the mean of its divisors is an integer number (448).
2540 is a gapful number since it is divisible by the number (20) formed by its first and last digit.
It is an amenable number.
2540 is an abundant number, since it is smaller than the sum of its proper divisors (2836).
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 (2688).
2540 is a wasteful number, since it uses less digits than its factorization.
2540 is an odious number, because the sum of its binary digits is odd.
The sum of its prime factors is 136 (or 134 counting only the distinct ones).
The product of its (nonzero) digits is 40, while the sum is 11.
The square root of 2540 is about 50.3984126734.
The cubic root of 2540 is about 13.6440898976.
Subtracting from 2540 its product of nonzero digits (40), we obtain a square (2500 = 502).
Adding to 2540 its reverse (452), we get a palindrome (2992).
It can be divided in two parts, 25 and 40, that multiplied together give a cube (1000 = 103).
The spelling of 2540 in words is "two thousand, five hundred forty".