Question

In: Advanced Math

what combinations using only 0, 1,2, then transform that number to base 3, can give 7...

what combinations using only 0, 1,2, then transform that number to base 3, can give 7 when doing modulus division 9. Need a number x in base 10 that when transformed in base 3, where x%9 = 7

Solutions

Expert Solution

Firstly when a number is said to be in base N format, it means that as we cross each digit starting from the right hand side and moving left. The value is increased by a factor of N, starting from 1. For example in base 10 format the value of 11 is 1x1+10x1 = 11(This is the standard format we follow) and in base 2 format the same number 11 is equal to 1x1+2x1 = 3,  the number 101 is equal to 1x1+2x0+4x1 = 5.

We also have to remember that for a base N number we have N digits i.e 0 to N-1 with which we can form the number. This means that in base 2 format we only see 2 digits i.e 0 and 1, similarly here in base 3 format we will only see 0,1,2 digits that form the number.

To convert a number from base 10 to base 3 we can do it in multiple ways one out of which is to find the highest power of 3 which is less than the base 10 number we have and store it and continue doing this with the remaining value. For example to convert 10 in base 10 to base 3, we first take 32 from 10, which leaves 1. 32 in base 3 would be 100 and 10 = 32 + 1. Therefore in base 3 it will be 101.

Assuming that all digits are not compulsory to be a part of x. Also assuming that after the number is converted to base 3, we are just considering the same digits in base 10 while performing the modulo operation.

we have only limited number of possibilities, if we consider no repetition of digits which are as follows in ascending order:

0,1,2,10,12,20,21,102,120,201,210

Now we check which of these numbers will satisfy the give condition by trial and error method.

We are certain that 0,1,2 won't have a remainder of 7.

So let's start from 10, it's 101 in base 3. Now 101%9 is the remainder left when 101 is divided by 9, i.e 2, so this doesn't satisfy the condition.

12 in base 3 is 110. 110%9 is also 2,we move to next trial.

20 in base 3 is 202. 202%9 is 4, next trial.

21 in base 3 is 210. 210%9 is 3, next trial.

102 in base 3 is 10210. 10210%9 is 4.

120 in base 3 is 11110. 11110%9 is 4.

201 in base 3 is 21110. 21110%9 is 5.

210 in base 3 is 21210. 21210%9 is 6

From all these values we can make an observation that the value of modulo 9 is the sum of the digits. Therefore we can see that x=211 would have value 7 on modulo 9 for it's base 3 number (21211), also on doing some more trial and error observations we see that this is the only 3 digit number with only 0,1,2 which satisfies the condition. If there is a requirement of higher digit terms, we can follow the same steps to do the same.


Related Solutions

Give the Laplace transform of the solution to y"+2y'+3y=0 y(0)=-5 y'(0)=4
Give the Laplace transform of the solution to y"+2y'+3y=0 y(0)=-5 y'(0)=4
Determine all possible two-stage compound gear combinations that will give an approximation to the Naperian base...
Determine all possible two-stage compound gear combinations that will give an approximation to the Naperian base 2.71828. Limit tooth numbers to between 18 and 80. Determine the arrangement that gives the smallest error. Could you use mathcad since my professor is suggesting it with the code?
How many 4 digit numbers can be formed using only the numbers 3 2 7 6...
How many 4 digit numbers can be formed using only the numbers 3 2 7 6 5 4 9 if:    a) there are no repeats allowed? b) the number is odd and no repeats allowed? c) the number is greater than 4000 and no repeats are allowed? d) the number is greater than 4000 and repeats are allowed?
Solve the following IVP specifically using the Laplace transform method (d^3)x/d(t^3)+x=e^(-t)u(t)    f(0)=0 f'(0)=0    f''(0)=0...
Solve the following IVP specifically using the Laplace transform method (d^3)x/d(t^3)+x=e^(-t)u(t)    f(0)=0 f'(0)=0    f''(0)=0 where u(t) is the Heaviside step function
b. What combinations give the most absorbance? Why?
                                                       Preset Wavelength: Simulation default setting Variable Wavelength: Set to same color as solutionSolutionSolution ColorBeam ColorValue (nm)AbsBeam ColorValue (nm)AbsDrink mixLight RedLight Green508 nm0.51Kinda Light Red634 nm0.02Potassium Permangana te-ateLight PurpleLight Green544 nm0.20Kinda Light Purple405 nm0.03Copper (II) SulfateLight BlueDark Red780 nm0.96Kinda Light Blue484 nm0.01 b. What combinations give the most absorbance? Why? When the beam color and the solution...
What base 10 number (using powers of 10 if using scientific notation) is represented by the...
What base 10 number (using powers of 10 if using scientific notation) is represented by the following IEEE 754 hexadecimal representation? a. 40 70 00 00 b. FF E4 00 00 c. 80 20 00 00
1.How many different values can be represented using a 3-bit number? Please enter only a numeric...
1.How many different values can be represented using a 3-bit number? Please enter only a numeric value 2.How many different values can be represented using a 6-bit number? Please enter only a numeric value
solve using the laplace transform y''-2y'+y=e^-1 , y(0)=0 , y'(0)=1
solve using the laplace transform y''-2y'+y=e^-1 , y(0)=0 , y'(0)=1
solve the d.e. equation using Laplace inverse transform y'-y = xex, y(0)=0
solve the d.e. equation using Laplace inverse transform y'-y = xex, y(0)=0
(a) Find a 3×3 matrix A such that 0 is the only eigenvalue of A, and...
(a) Find a 3×3 matrix A such that 0 is the only eigenvalue of A, and the space of eigenvectors of 0 has dimension 1. (Hint: upper triangular matrices are your friend!) (b) Find the general solution to x' = Ax. PLEASE SHOW YOUR WORK CLEARLY.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT