Converting an Integer to a Binary String
807600Oct 21 2007 — edited Oct 22 2007I am trying to implement a function for fast modular exponentiation and I wanted to know if there was a way to extract a binary string, maybe in the form of an array, from an integer
i.e. 5 --> {1,0,1}