Question 1199339: 0,1,3,2,6,7,5,4 ....
------
What is next?
Answer by Alan3354(69443) (Show Source):
You can put this solution on YOUR website! 0,1,3,2,6,7,5,4 ....
------
What is next?
===================
This is "reflected binary code"
Commonly called Gray Code.
The next "number" is 12.
----
Binary Hex Decimal
0000 0 0
0001 1 1
0011 3 3
0010 2 2
0110 6 6
0111 7 7
0101 5 5
0100 4 4
1100 C 12
1101 D 13
1111 F 15
1110 E 14
1010 A 10
1011 B 11
1001 9 9
1000 8 8
---------------
Notice that only 1-bit changes between successive values.
Used in shaft encoders.
|
|
|