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 00:30
At an open or uncontrolled intersection, yield if a. the cross road has more lanes than yours b. the cross road has fewer land than yours c. you’re on a state highway and the cross road is a secondary road d. do you have three or more passengers in your vehicle
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
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, 13.03.2020 23:24
Questions on the website: 13722361