Factoring a number in the format of 2^x + 2^y … ect

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Lets say I have this number 4294967296, I can easily convert it to 2^32.



Now lets say I have this number 33554688, How could I factor it to 2^25 + 2^8.
It needs to always be in the format of (2 to the power of x).



From my understanding every number could be factored into this format(unless it's odd then it would need a +1 at the end).







share|cite|improve this question















  • 1




    Are you just asking how to write a number in base $2$?
    – lulu
    Jul 29 at 19:21










  • $2^0 =1$ so odd numbers can also be expressed in binary.
    – poetasis
    Jul 29 at 19:24






  • 1




    This is not called "factoring" it is called converting a number to binary representation. If you think it's easy for 4294967296, then I'm a bit surprised you don't have any ideas about how to convert your method to work for numbers that aren't powers of 2.
    – Rob Arthan
    Jul 29 at 19:26















up vote
0
down vote

favorite












Lets say I have this number 4294967296, I can easily convert it to 2^32.



Now lets say I have this number 33554688, How could I factor it to 2^25 + 2^8.
It needs to always be in the format of (2 to the power of x).



From my understanding every number could be factored into this format(unless it's odd then it would need a +1 at the end).







share|cite|improve this question















  • 1




    Are you just asking how to write a number in base $2$?
    – lulu
    Jul 29 at 19:21










  • $2^0 =1$ so odd numbers can also be expressed in binary.
    – poetasis
    Jul 29 at 19:24






  • 1




    This is not called "factoring" it is called converting a number to binary representation. If you think it's easy for 4294967296, then I'm a bit surprised you don't have any ideas about how to convert your method to work for numbers that aren't powers of 2.
    – Rob Arthan
    Jul 29 at 19:26













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Lets say I have this number 4294967296, I can easily convert it to 2^32.



Now lets say I have this number 33554688, How could I factor it to 2^25 + 2^8.
It needs to always be in the format of (2 to the power of x).



From my understanding every number could be factored into this format(unless it's odd then it would need a +1 at the end).







share|cite|improve this question











Lets say I have this number 4294967296, I can easily convert it to 2^32.



Now lets say I have this number 33554688, How could I factor it to 2^25 + 2^8.
It needs to always be in the format of (2 to the power of x).



From my understanding every number could be factored into this format(unless it's odd then it would need a +1 at the end).









share|cite|improve this question










share|cite|improve this question




share|cite|improve this question









asked Jul 29 at 19:18









john

11




11







  • 1




    Are you just asking how to write a number in base $2$?
    – lulu
    Jul 29 at 19:21










  • $2^0 =1$ so odd numbers can also be expressed in binary.
    – poetasis
    Jul 29 at 19:24






  • 1




    This is not called "factoring" it is called converting a number to binary representation. If you think it's easy for 4294967296, then I'm a bit surprised you don't have any ideas about how to convert your method to work for numbers that aren't powers of 2.
    – Rob Arthan
    Jul 29 at 19:26













  • 1




    Are you just asking how to write a number in base $2$?
    – lulu
    Jul 29 at 19:21










  • $2^0 =1$ so odd numbers can also be expressed in binary.
    – poetasis
    Jul 29 at 19:24






  • 1




    This is not called "factoring" it is called converting a number to binary representation. If you think it's easy for 4294967296, then I'm a bit surprised you don't have any ideas about how to convert your method to work for numbers that aren't powers of 2.
    – Rob Arthan
    Jul 29 at 19:26








1




1




Are you just asking how to write a number in base $2$?
– lulu
Jul 29 at 19:21




Are you just asking how to write a number in base $2$?
– lulu
Jul 29 at 19:21












$2^0 =1$ so odd numbers can also be expressed in binary.
– poetasis
Jul 29 at 19:24




$2^0 =1$ so odd numbers can also be expressed in binary.
– poetasis
Jul 29 at 19:24




1




1




This is not called "factoring" it is called converting a number to binary representation. If you think it's easy for 4294967296, then I'm a bit surprised you don't have any ideas about how to convert your method to work for numbers that aren't powers of 2.
– Rob Arthan
Jul 29 at 19:26





This is not called "factoring" it is called converting a number to binary representation. If you think it's easy for 4294967296, then I'm a bit surprised you don't have any ideas about how to convert your method to work for numbers that aren't powers of 2.
– Rob Arthan
Jul 29 at 19:26
















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2866333%2ffactoring-a-number-in-the-format-of-2x-2y-ect%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2866333%2ffactoring-a-number-in-the-format-of-2x-2y-ect%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?