Number: | 511 |
511 is the natural number following 510 and preceding 512.
It is a Mersenne number, being one less than a power of 2:
511=29-1
It is a generalized heptagonal number, since
511= | 1 |
2 |
(5n2-3n)
n=-14
It is a Harshad number in bases 3, 5, 7, 10, 13 and 15.
The octal representation of 511 (7778) is commonly used by Unix commands to specify a custom record separator in order to "slurp" input as a whole, rather than line-by-line (i.e. separated at newline characters).