# 0xFFFF

 ← 65534 65535 65536 →
Cardinalsixty-five thousand five hundred thirty-five
Ordinal65535th
(sixty-five thousand five hundred thirty-fifth)
Factorization3 × 5 × 17 × 257
Divisors16 total
Greek numeral${\stackrel {\digamma }{\mathrm {M} }}$ ͵εφλε´
Roman numeralLXVDXXXV
Binary11111111111111112
Ternary100222200203
Quaternary333333334
Quinary40441205
Senary12232236
Octal1777778
Duodecimal31B1312
Vigesimal83GF20
Base 361EKF36

65535 is the integer after 65534 and before 65536.

## In mathematics[]

65535 is the product of the first four Fermat primes: 65535 = (2 + 1)(4 + 1)(16 + 1)(256 + 1). Because of this property, it is possible to construct with compass and straightedge a regular polygon with 65535 sides. See constructible polygon.

65535 is the 15th 626-gonal number, the 5th 6555-gonal number, the 3rd 21846-gonal number.

## In computing[]

• 65535 occurs frequently in the field of computing because it is $2^{16}-1$ (one less than 2 to the 16th power), 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 MAX_UNSIGNED_SHORT.
• In older computers with processors having a 16-bit address bus (such as the MOS Technology 6502 and the Zilog Z80), 65535 (FFFF16) is the highest addressable memory location, with 0 (000016) 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.
• A Java class or interface can have at most 65,535 methods. The code of a constructor in Java is limited to 65,535 bytes.
• The JavaScript (AKA ECMAScript) method .charCodeAt() will return a number which corresponds with the index of the passed parameter with a maximum possible value of 65535.
• In some implementations of Tiny BASIC, entering a command that divides any number by zero will return 65535.
• In an unpatched version of Microsoft Excel 2007, many mathematical computations evaluating to 65535 will display incorrectly. For example, =850*77.1 displays as 100000 rather than 65535. Microsoft reports this to be a display-only bug for only 6 floating point numbers near 65535 and 65536. These display issues do not occur in ions of Excel that have been updated to Office 2007 service pack 2.
• In Microsoft Word 2011 for Mac, 65535 is the highest line number that will be displayed.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7122614,"math_prob":0.9384543,"size":1218,"snap":"2019-43-2019-47","text_gpt3_token_len":365,"char_repetition_ratio":0.10790774,"word_repetition_ratio":0.0,"special_character_ratio":0.37438422,"punctuation_ratio":0.074257426,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9614745,"pos_list":[0,1,2,3,4],"im_url_duplicate_count":[null,9,null,7,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-11-22T12:10:50Z\",\"WARC-Record-ID\":\"<urn:uuid:06fbc95b-7faf-4bc7-8e10-44472de8a7a3>\",\"Content-Length\":\"21457\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:04f43530-2691-4e46-8cb3-d81f7f6d3150>\",\"WARC-Concurrent-To\":\"<urn:uuid:3d62561c-1ce9-4b0d-8fb3-a82d152c8431>\",\"WARC-IP-Address\":\"46.17.44.51\",\"WARC-Target-URI\":\"http://en.wikibedia.ru/wiki/0xFFFF\",\"WARC-Payload-Digest\":\"sha1:BJ7PZ7LHGSNZAF56X2H5IMG2374BHUSM\",\"WARC-Block-Digest\":\"sha1:YTES2IYREX263L6CMAZM5DJMUF3BRXMY\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-47/CC-MAIN-2019-47_segments_1573496671260.30_warc_CC-MAIN-20191122115908-20191122143908-00228.warc.gz\"}"}