How is decimal 38 written in binary?

Let’s determine which number (in the binary system) will correspond to the number 38, which is written in the ordinary decimal system:

38: 2 = 19 (0);

19: 2 = 9 (1);

9: 2 = 4 (1);

4: 2 = 2 (0);

2: 2 = 1 (0).

That is, we get the number 100110.

Answer: The number 38, which is written in the ordinary decimal system, will correspond to the number 100110, if translated into binary.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.