Search a number
-
+
40161040 = 245502013
BaseRepresentation
bin1001100100110…
…0111100010000
32210120101120221
42121030330100
540240123130
63552442424
7665235403
oct231147420
983511527
1040161040
1120740647
1211549414
138421c3a
145495d3a
1537d487a
hex264cf10

40161040 has 20 divisors (see below), whose sum is σ = 93374604. Its totient is φ = 16064384.

The previous prime is 40161031. The next prime is 40161049. The reversal of 40161040 is 4016104.

It is a happy number.

It is an interprime number because it is at equal distance from previous prime (40161031) and next prime (40161049).

It can be written as a sum of positive squares in 2 ways, for example, as 5161984 + 34999056 = 2272^2 + 5916^2 .

It is a tau number, because it is divible by the number of its divisors (20).

It is a super-2 number, since 2×401610402 = 3225818267763200, which contains 22 as substring.

It is a Harshad number since it is a multiple of its sum of digits (16).

It is not an unprimeable number, because it can be changed into a prime (40161049) by changing a digit.

It is a pernicious number, because its binary representation contains a prime number (11) of ones.

It is a polite number, since it can be written in 3 ways as a sum of consecutive naturals, for example, 250927 + ... + 251086.

Almost surely, 240161040 is an apocalyptic number.

40161040 is a gapful number since it is divisible by the number (40) formed by its first and last digit.

It is an amenable number.

40161040 is an abundant number, since it is smaller than the sum of its proper divisors (53213564).

It is a pseudoperfect number, because it is the sum of a subset of its proper divisors.

40161040 is a wasteful number, since it uses less digits than its factorization.

40161040 is an odious number, because the sum of its binary digits is odd.

The sum of its prime factors is 502026 (or 502020 counting only the distinct ones).

The product of its (nonzero) digits is 96, while the sum is 16.

The square root of 40161040 is about 6337.2738618431. The cubic root of 40161040 is about 342.4535323323.

Adding to 40161040 its reverse (4016104), we get a palindrome (44177144).

The spelling of 40161040 in words is "forty million, one hundred sixty-one thousand, forty".

Divisors: 1 2 4 5 8 10 16 20 40 80 502013 1004026 2008052 2510065 4016104 5020130 8032208 10040260 20080520 40161040