123257 has 6 divisors (see below), whose sum is σ = 129402.
Its totient is φ = 117392.
The previous prime is 123239. The next prime is 123259. The reversal of 123257 is 752321.
123257 is nontrivially palindromic in base 12 and base 13.
It can be written as a sum of positive squares in only one way, i.e., 89401 + 33856 = 299^2 + 184^2
It is not a de Polignac number, because 123257 - 28 = 123001 is a prime.
It is a pancake number, because a pancake can be divided into 123257 parts by 496 straight cuts.
It is a Duffinian number.
It is an inconsummate number, since it does not exist a number n which divided by its sum of digits gives 123257.
It is not an unprimeable number, because it can be changed into a prime (123259) by changing a digit.
It is a polite number, since it can be written in 5 ways as a sum of consecutive naturals, for example, 413 + ... + 645.
It is an arithmetic number, because the mean of its divisors is an integer number (21567).
2123257 is an apocalyptic number.
It is an amenable number.
123257 is a deficient number, since it is larger than the sum of its proper divisors (6145).
123257 is an equidigital number, since it uses as much as digits as its factorization.
123257 is an evil number, because the sum of its binary digits is even.
The sum of its prime factors is 279 (or 256 counting only the distinct ones).
The product of its digits is 420, while the sum is 20.
The square root of 123257 is about 351.0797630169.
The cubic root of 123257 is about 49.7665113583.
The spelling of 123257 in words is "one hundred twenty-three thousand, two hundred fifty-seven".