Search a number
BaseRepresentation
bin1001111100001101
32001212001
421330031
52300332
6512301
7226465
oct117415
961761
1040717
1128656
121b691
13156c1
1410ba5
15c0e7
hex9f0d

40717 has 4 divisors (see below), whose sum is σ = 42880. Its totient is φ = 38556.

The previous prime is 40709. The next prime is 40739. The reversal of 40717 is 71704.

It can be divided in two parts, 407 and 17, that added together give a palindrome (424).

It is a semiprime because it is the product of two primes, and also a Blum integer, because the two primes are equal to 3 mod 4.

It is a cyclic number.

It is not a de Polignac number, because 40717 - 23 = 40709 is a prime.

It is a Harshad number since it is a multiple of its sum of digits (19), and also a Moran number because the ratio is a prime number: 2143 = 40717 / (4 + 0 + 7 + 1 + 7).

It is a Duffinian number.

It is a junction number, because it is equal to n+sod(n) for n = 40694 and 40703.

It is a congruent number.

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

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

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

240717 is an apocalyptic number.

40717 is the 117-th hex number.

It is an amenable number.

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

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

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

The sum of its prime factors is 2162.

The product of its (nonzero) digits is 196, while the sum is 19.

The square root of 40717 is about 201.7845385554. The cubic root of 40717 is about 34.4026521301.

The spelling of 40717 in words is "forty thousand, seven hundred seventeen", and thus it is an iban number.

Divisors: 1 19 2143 40717