Every 4th year is leap unless it's divisible by 100. This is only true with one additional caveat: among those divisible by 100, the ones that are divisible by 400 are still leap.
Authored by
placeholder at
, Added: 19 Feb 2006
http://www.cut-the-knot.org/SimpleGames/Calendar.shtml