500
Khayyam did write that, it is part of the Rubaiyat.
Who, what, and where is this writing from: "The moving finger writes; and having writ, moves on;not all your Piety nor wit shall lure it back to cancel half a line, nor all your tears wash out a word of it."