0
0

More than 1 year has passed since last update.

2進数を感覚的に覚えれる!?

Posted at

視覚的に1は左に移動する

 10  2
2 0001
4 0010
8 0100
16 1000

とりあえず横に並べる

1 2 4 8
0001 0010 0100 1000

1が増えていく

 10  2  10  2
1 0001 8 1000
3 0011 12 1100
7 0111 14 1110
15 1111 15 1111

合体させてみた

1 2 4 8
0001 0010 0100 1000
3 12
7 14
15 15
1 2 4 8
0001 0010 0100 1000
0011 1100
0111 1110
1111 1111
1 2 4 8
1 0001 0010 0100 1000 8
3 0011 1100 12
7 0111 1110 14
15 1111 1111 15

6と7も覚えやすそう・・・

1 2 4 8
0001 0010 0100 1000 8
3 0011 1100 12
7 0111 1110 14
15 1111 1111 15
1 2 4 8
0001 0010 0100 1000 8
3 0011 0110 1100 12
7 0111 0111 1110 14
15 1111 1111 15

残り5,9,10,11,13

10と11は個人的に覚えやすい
10進数の10
11進数の11
みたいな感じで覚えれる

 10進数  2進数
10 1010
11 1011

5,9も感覚的に覚えた
2は10の位に1
5は100の位に1
9は1000の位に1

 10進数  2進数
2 0011
5 0101
9 1001

13だけは何となく仲間外れになっちゃったので覚えれそう

 10進数  2進数
13 1101

まとめ

1 2 4 8
0001 0010 0100 1000 8
3 0011 0110 1100 12
7 0111 0111 1110 14
15 1111 1111 15
 10進数  2進数
2 0011
5 0101
9 1001
 10進数  2進数
10 1010
11 1011
 10進数  2進数
13 1101

まぁ普通に覚えた方が早いかもしれんが、年始のいい暇つぶしなったかも

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0