This code was written by Robert S K Miles and is featured in the computerphile video "Code Golf & the Bitshift Variations":<p><a href="https://www.youtube.com/watch?v=MqZgoNRERY8" rel="nofollow">https://www.youtube.com/watch?v=MqZgoNRERY8</a>