Converting Binary form to a desired array

*To*: mathgroup at smc.vnet.net*Subject*: [mg75980] Converting Binary form to a desired array*From*: athlonspell <athlonspell at yahoo.ca>*Date*: Mon, 14 May 2007 03:45:32 -0400 (EDT)

Hello, I have this: > BaseForm[212,2] = 10100 Now, I am trying to achieve this output from above: > {2^4, 0, 2^2, 0, 0} How do I go about do this? Thank you, Sharon

**Follow-Ups**:**Re: Converting Binary form to a desired array***From:*János <janos.lobb@yale.edu>

**Re: Converting Binary form to a desired array***From:*"Patrick Scheibe" <mai99dnn@studserv.uni-leipzig.de>