Search a number
-
+
40517221 is a prime number
BaseRepresentation
bin1001101010001…
…1111001100101
32211020111011211
42122203321211
540333022341
64004231421
71001251003
oct232437145
984214154
1040517221
1120964208
121169b571
1385180b4
145549a73
153855181
hex26a3e65

40517221 has 2 divisors, whose sum is σ = 40517222. Its totient is φ = 40517220.

The previous prime is 40517219. The next prime is 40517231. The reversal of 40517221 is 12271504.

It is a happy number.

It is a weak prime.

It can be written as a sum of positive squares in only one way, i.e., 21288996 + 19228225 = 4614^2 + 4385^2 .

It is a cyclic number.

It is not a de Polignac number, because 40517221 - 21 = 40517219 is a prime.

Together with 40517219, it forms a pair of twin primes.

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

It is a congruent number.

It is not a weakly prime, because it can be changed into another prime (40517231) by changing a digit.

It is a polite number, since it can be written as a sum of consecutive naturals, namely, 20258610 + 20258611.

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

Almost surely, 240517221 is an apocalyptic number.

It is an amenable number.

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

40517221 is an equidigital number, since it uses as much as digits as its factorization.

40517221 is an evil number, because the sum of its binary digits is even.

The product of its (nonzero) digits is 560, while the sum is 22.

The square root of 40517221 is about 6365.3138964233. The cubic root of 40517221 is about 343.4629402489.

Adding to 40517221 its reverse (12271504), we get a palindrome (52788725).

The spelling of 40517221 in words is "forty million, five hundred seventeen thousand, two hundred twenty-one".