Search a number
BaseRepresentation
bin1111111010
31101201
433322
513033
64414
72653
oct1772
91351
101018
11846
1270a
13604
1452a
1547d
hex3fa

1018 has 4 divisors (see below), whose sum is σ = 1530. Its totient is φ = 508.

The previous prime is 1013. The next prime is 1019. The reversal of 1018 is 8101.

It is a semiprime because it is the product of two primes.

It can be written as a sum of positive squares in only one way, i.e., 729 + 289 = 27^2 + 17^2 .

It is an Ulam number.

It is an alternating number because its digits alternate between odd and even.

1018 is a modest number, since divided by 18 gives 10 as remainder.

It is a plaindrome in base 15.

It is a nialpdrome in base 4.

It is a zygodrome in base 4.

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

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

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

21018 is an apocalyptic number.

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

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

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

The sum of its prime factors is 511.

The product of its (nonzero) digits is 8, while the sum is 10.

The square root of 1018 is about 31.9061122671. The cubic root of 1018 is about 10.0596435574.

Adding to 1018 its reverse (8101), we get a palindrome (9119).

It can be divided in two parts, 101 and 8, that multiplied together give a palindrome (808).

The spelling of 1018 in words is "one thousand, eighteen".

Divisors: 1 2 509 1018