1023 is the natural number following 1022 and preceding 1024.

Mathematics

1023 is a number whose sum of digits is 6, and is a sum of 5 consecutive primes (193, 197, 199, 211 and 223).

It is a sub-perfect power (a perfect power minus 1) specifically 4<sup>5</sup> - 1 and 2<sup>10</sup> - 1. The latter of these makes it a Mersenne number, and both of these cause it to be palindromic when converted to bases 2 and 4 (as in both they are a string of 1's).

It is a Stirling number of the second kind, specifically <math>\textstyle \left\