SHARE
TWEET

Untitled

a guest Nov 10th, 2015 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x=>eval(`while(x>1&&/[01]+/.test(x))x=''+[...x].reverse().reduce(((p,v,i)=>p+v*Math.pow(2,i)),0)`)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top