65,535
65535 is the integer after 65534 and before 65536.
It is the maximum value of an unsigned 16-bit integer.
In mathematics
65535 is the sum of 20 through 215 and is therefore a repdigit in base 2, in base 4, and in base 16.It is the ninth number whose Euler totient has an aliquot sum that is :, and the twenty-eighth perfect totient number equal to the sum of its iterated totients.
65535 is the fifteenth 626-gonal number, the fifth 6555-gonal number, and the third 21846-gonal number.
65535 is the product of the first four Fermat primes: 65535 =. Because of this property, it is possible to construct with compass and straightedge a regular polygon with 65535 sides.
In computing
- 65535 occurs frequently in the field of computing because it is , which is the highest number that can be represented by an unsigned 16-bit binary number. Some computer programming environments may have predefined constant values representing 65535, with names like.
- In older computers with processors having a 16-bit address bus such as the MOS Technology 6502 popular in the 1970s and the Zilog Z80, 65535 is the highest addressable memory location, with 0 being the lowest. Such processors thus support at most 64 KiB of total byte-addressable memory.
- In Internet protocols, 65535 is also the number of TCP and UDP ports available for use, since port 0 is reserved.
- In some implementations of Tiny BASIC, entering a command that divides any number by zero will return 65535.
- In Microsoft Word 2011 for Mac, 65535 is the highest line number that will be displayed.
- In HTML, 65535 is the decimal value of the web color Aqua .
- in Dragon Quest 1, this is the number of experience points needed to reach the maximum character level of 30.
- In Fallout 4, level 65535 is the last possible level that the player can reach as there is no level cap. Gaining one more after this causes the game to crash.