Easter by ksk

$$.upto(3e3){|y|b=y/?d-3
h=y%19*19-b/3+17+c=b*3/4
n=c+(3-y*5)/4-h%=30
n=h-(14/c+h*n%=7)/?\xa9*7-10+n
puts"%02d #{n<0?:MARCH: :APRIL}, 0#{y}".%1+n%31}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page