The Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.math.symbolic

Topic: Determing if a number is Even or Odd?
Replies: 2   Last Post: Sep 27, 2017 12:51 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Luke Earles

Posts: 3
Registered: 9/26/17
Determing if a number is Even or Odd?
Posted: Sep 26, 2017 9:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

If we have an odd number n, then we multiply it by 3 and add one (n*3+1), we know we will get an Even number p. How can one determine how many times p can be divided by two before it is odd again?

Another way of asking the same question. if we have (n*3+1)/(2 to some power), how can we determine if the number produced will be odd or even depending on the chosen n and the chosen power of two?

Is there a way to symbolize divide by two until odd in a function?
Thanks for all the help!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.