Quantcast
Browsing all 23 articles
Browse latest View live

Answer by FryAmTheEggman for All about basic binary

Pyth, 14 13jbf!-jQTU2tSQThanks to Jakube for pointing out the new S function.Try it here.The online version is too slow to do 1234321. This simply converts the input to each base from 2 to itself and...

View Article


Answer by Optimizer for All about basic binary

CJam, 20 bytes (or 27 bytes * 0.75 = 20.25)Here is the no bonus version, 20 bytes:ri:X,2f+{X\b2,-!},N*Try this here.Just for fun, here is the bonus version, 27 bytes:ri:X{X\)b2,-!},1>{)SX2$bN}/Try...

View Article


All about basic binary

Please excuse the punny title. This is a question is inspired by A Curious Property of 82000. In it, the author points out that the number 82000 is binary in base 2, 3, 4, and 5. The post then poses...

View Article
Browsing all 23 articles
Browse latest View live