Search a number
-
+
40097 = 101397
BaseRepresentation
bin1001110010100001
32001000002
421302201
52240342
6505345
7224621
oct116241
961002
1040097
1128142
121b255
1315335
1410881
15bd32
hex9ca1

40097 has 4 divisors (see below), whose sum is σ = 40596. Its totient is φ = 39600.

The previous prime is 40093. The next prime is 40099. The reversal of 40097 is 79004.

It is a semiprime because it is the product of two primes, and also a brilliant number, because the two primes have the same length.

It can be written as a sum of positive squares in 2 ways, for example, as 33856 + 6241 = 184^2 + 79^2 .

It is a cyclic number.

It is not a de Polignac number, because 40097 - 22 = 40093 is a prime.

It is a Duffinian number.

It is not an unprimeable number, because it can be changed into a prime (40093) 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, 98 + ... + 299.

It is an arithmetic number, because the mean of its divisors is an integer number (10149).

240097 is an apocalyptic number.

It is an amenable number.

40097 is a deficient number, since it is larger than the sum of its proper divisors (499).

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

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

The sum of its prime factors is 498.

The product of its (nonzero) digits is 252, while the sum is 20.

The square root of 40097 is about 200.2423531624. The cubic root of 40097 is about 34.2271412287.

The spelling of 40097 in words is "forty thousand, ninety-seven".

Divisors: 1 101 397 40097