subject

Given a set of weights {1,3,9,27}, show that you can construct any number between 1 and 40. in other words, using the set above and the addition and subtraction operations, construct any integer between 1 and 40 without re-using elements. for example, 4 = 1+1+1+1 is not acceptable.

for example,
8 = 9 - 1
10 = 1 + 9

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
The can be used to paste text in any order
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Where can page numbers appear? check all that apply. in the header inside tables in the footer at the bottom of columns at the top of columns
Answers: 1
You know the right answer?
Given a set of weights {1,3,9,27}, show that you can construct any number between 1 and 40. in other...
Questions
question
Mathematics, 04.09.2021 01:00
question
Mathematics, 04.09.2021 01:00
question
Chemistry, 04.09.2021 01:00
question
Mathematics, 04.09.2021 01:00
question
Mathematics, 04.09.2021 01:00
Questions on the website: 13722359