Easter by leonid

$$.upto(3e3){|y|f=y/?d
g=(y%19*19+15-f/3+f-=f/4)%30
x=(f-y-y/4-g-=4+g/=27+f/9)%7+g-6
puts"%02d #{x<0?:MARCH: :APRIL}, 0#{y}".%1+x%31}

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

download

return to the top page