Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Division by two
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Decimal== The following [[algorithm]] is for decimal. However, it can be used as a model to construct an algorithm for taking half of any number ''N'' in any [[even and odd numbers|even]] base. *Write out ''N'', putting a zero to its left. *Go through the digits of ''N'' in overlapping pairs, writing down digits of the result from the following table. {| class="wikitable" |- ! If first digit is | Even || Even || Even || Even || Even | Odd || Odd || Odd || Odd || Odd |- ! And second digit is | 0 or 1 || 2 or 3 || 4 or 5 || 6 or 7 || 8 or 9 | 0 or 1 || 2 or 3 || 4 or 5 || 6 or 7 || 8 or 9 |- ! Write | 0 || 1 || 2 || 3 || 4 | 5 || 6 || 7 || 8 || 9 |} Example: 1738/2=? Write 01738. We will now work on finding the result. * 01: even digit followed by 1, write 0. * 17: odd digit followed by 7, write 8. * 73: odd digit followed by 3, write 6. * 38: odd digit followed by 8, write 9. Result: 0869. From the example one can see that [[0 is even]]. If the last digit of ''N'' is [[even and odd numbers|odd]] digit one should add 0.5 to the result.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)