Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Binary system
(view source)
Revision as of 17:06, July 14, 2007
413 bytes added
,
17:06, July 14, 2007
format table
Line 3:
Line 3:
To increment a binary number, follow this rule:
To increment a binary number, follow this rule:
−
1. Current digit is the end digit
+
1. Current digit is the end digit
−
2. Change the current digit
+
2. Change the current digit
−
3. If current digit = 1
+
3. If current digit = 1
−
4. Then:
+
4. Then:
−
4a.Shift current digits to away from the end digit
+
4a.Shift current digits to away from the end digit
−
4b.Goto step 2
+
4b.Goto step 2
−
5: Else:
+
5: Else:
−
5a:You're done.
+
5a:You're done.
A more concrete example can be found here:
A more concrete example can be found here:
Line 16:
Line 16:
The first 16 binary digits:
The first 16 binary digits:
−
:0
:
0
+
{|style="text-align
:
center"
−
:
1
:
1
+
!Decimal!!Colspan=2 |Binary
−
:
10
:2
+
|-
−
:
11
:3
+
|width=50px|
0
−
:
100
:4
+
|width=50px align="right"|
0
−
:
101
:5
+
|width=10px|
−
:
110
:6
+
|-
−
:
111
:7
+
|
1
−
:
1000
:8
+
|align="right"|
1
−
:
1001
:9
+
|-
−
:
1010
:10
+
|2
−
:
1011
:11
+
|align="right"|
10
−
:
1100
:12
+
|-
−
:
1101
:13
+
|3
−
:
1110
:14
+
|align="right"|
11
−
:
1111
:15
+
|-
−
:
10000
:16
+
|4
+
|align="right"|
100
+
|-
+
|5
+
|align="right"|
101
+
|-
+
|6
+
|align="right"|
110
+
|-
+
|7
+
|align="right"|
111
+
|-
+
|8
+
|align="right"|
1000
+
|-
+
|9
+
|align="right"|
1001
+
|-
+
|10
+
|align="right"|
1010
+
|-
+
|11
+
|align="right"|
1011
+
|-
+
|12
+
|align="right"|
1100
+
|-
+
|13
+
|align="right"|
1101
+
|-
+
|14
+
|align="right"|
1110
+
|-
+
|15
+
|align="right"|
1111
+
|-
+
|16
+
|align="right"|
10000
+
|}
[[Category:Mathematics]]
[[Category:Mathematics]]
BrianCo
nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW
6,302
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Article
talk page
Variants
Views
Read
View source
View history
More
Search
Popular Links
Main Page
Recent changes
New Pages
Random page
Statistics
Edit Console
Special pages
Printable version