subject

For any positive integer $n$, let $G(n)$ be the number of pairs of adjacent bits in the binary representation of $n$ which are different. For example, $G(10)=3$ because the bits of $1010_2$ change at all three places and $G(12)=1$ because the bits of $1100_2$ change only from the fours to the twos place. For how many positive integers $n<2^{10}$ is it true that $G(n)=2$?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
question
Computers and Technology, 25.06.2019 01:00
What phrase indicates someone has knowledge and understanding of computer,internet,mobile devices and related technologies?
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
What group of plants produce fruit? question 2 options: gymnosperms nonvascular plants seedless vascular plants angiosperms
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Is a major factor in the widespread use of global information systems
Answers: 1
You know the right answer?
For any positive integer $n$, let $G(n)$ be the number of pairs of adjacent bits in the binary repre...
Questions
Questions on the website: 13722363