http://tongyingjun.com/archives/726
Bacon Number