512 (number)
Template:Infobox number 512 (five hundred [and] twelve) is the natural number following 511 and preceding 513.
In mathematics
512 is a power of two: 29 (2 to the 9th power)<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and the cube of 8: 83.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
It is the eleventh Leyland number.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
It is also the third Dudeney number.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
It is a self number in base 12.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
It is a harshad number in decimal.
It is the cube of the sum of its digits in base 10.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
It is the number of directed graphs on 3 labeled nodes.<ref>Template:Cite OEIS</ref>
In computing
512 bytes is a common disk sector size,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and exactly a half of kibibyte.
Internet Relay Chat restricts the size of a message to 510 bytes, which fits to 512-bytes buffers when coupled with the message-separating CRLF sequence.<ref>Template:IETF RFC, section 2.3</ref>
512 = 2·256 is the highest number of glyphs that the VGA character generator can use simultaneously.Template:Citation needed
In music
Selena Quintanilla released a song titled El Chico del Apartamento 512 (the title referring to area code 512, which serves Austin, Texas<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>Template:Better source needed), in 1995.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>
Lamb of God recorded a song titled "512" for their 2015 album VII: Sturm und Drang. The song was named after the cell number in the Pankrác Prison Randy Blythe was in during his manslaughter case.<ref>Template:Cite magazine</ref>
Mora and Jhay Cortez recorded a song titled "512" (The number 512 in this song refers to the Percocet 512 pill, a white, round pill whose active substances are acetaminophen and oxycodone hydrochloride) in February of 2021.
In popular culture
512 is a recurring number in the 2022 videogame Signalis.
In the 2022 videogame Who's Lila?, there is a prominent song named "Forest of 512 Sycamores".