http://en.wikipedia.org/wiki/De_Bruijn_sequence


존 카맥 fast inverse square root함수 이후로 최고로 이해안되는 소스네요