Consider an infinite sequence of positions 1, 2, 3, . . . and suppose we have a stone at position 1 and another stone at position 2. In each step, we choose one of the stones and move it according to the following rule: Say we decide to move the stone at position i; if the other stone is not at any of the positions i + 1, i + 2, . . . , 2i, then it goes to 2i, otherwise it goes to 2i + 1.
For example, in the first step, if we move the stone at position 1, it will go to 3 and if we move the stone at position 2 it will go to 4. Note that, no matter how we move the stones, they will never be at the same position.
Use induction to prove that, for any given positive integer n, it is possible to move one of the stones to position n. For example, if n = 7 first we move the stone at position 1 to 3. Then, we move the stone at position 2 to 5 Finally, we move the stone at position 3 to 7.
IF YOU HAVE ANY DOUBTS COMMENT BELOW I WILL BE TTHERE TO HELP YOU..ALL THE BEST..
ANSWER:
Base case :- For n = 1,2,3,4 , we can always move one stone at either of these positions such that highest position index of stone is position n.
Induction hypothesis :- For all n<=m, we can always move the stones such that out of two stones, stone at highest position index among two stones is at position n for any n<=m.
Inductive step :- For n = m+1.
Case 1:- If m+1 is even number.
Then by induction hypothesis, we can move one stone at position (m+1)/2 without other stone at position greater than (m+1)/2. Then since there are no stone at any of position (m+1)/2+1 , (m+1)/2+2,...,(m+1) , so in the next step, stone can be moved at position (m+1).
Case 2:- If m+1 is odd number.
Then by induction hypothesis, we can move one stone at position m/2 without other stone at position greater than m/2. Then we can move the second stone at lower position to higher index. When we move the second stone at higher index, there will be time when second stone will cross the index m/2. Since second stone will move either twice of its index or one more than twice of its index, hence the position of second stone when it just cross the stone at index m/2 will be in range m/2+1 to m.
Hence for the first stone at position m/2, since there is another stone between position m/2+1 to m, hence second stone will move to position 2*m/2 + 1 = m+1. Hence we will be able to move stone at position m+1.
Hence our induction hypothesis is correct for n=m+1, and hence the statement is true.
I HOPE YOU UNDERSTAND..
PLS RATE THUMBS UP..ITS HELPS ME ALOT..
THANK YOU...!!
Why is the base case of 1 allowed if its position is less than 2 which is the starting position of another stone
Consider an infinite sequence of positions 1, 2, 3, . . . and suppose we have a stone at position 1 and another stone at position 2. In each step, we choose one of the stones and move it according to...
Consider an infinite sequence of positions 1,2,3,... and suppose we have a stone at position 1 and another stone at position 2. In each step, we choose one of the stones and move it according to the following rule: Say we decide to move the stone at position i; if the other stone is not at any of the positions i 1,i + 2, ..., 2i, then it goes to 2i, otherwise it goes to 2i +1 For example, in...
NEED HELP WITH DISCRETE MATH: . Consider the following game. Alice and Bob have a an infinite quarter chessboard in front of them. The chessboard has a left edge and a bottom edge. There is one checker on some square the chessboard. The player whose turn it is can move the checker down any positive number of squares, or can move the check one column to the left, but anywhere in that column. The game ends when a player cannot...
Solve each problems using Polya's four-step problem-solving strategy: 1. In the complex number system, i^1 = i; i^2 = -1; i^3 = -i; i^4 = 1; i^5 = i... Find i^173. 2. A coffee shop is giving away a signature annual planner. In the mechanics, each customer has to collect 24 stickers to avail of the said planner, and customers can share stickers. At the end of the promo period, John had a the most number of stickers, more than...
Could I have help with entire question please. P+1 pt1 for any 2. In this question we will show by first principles that xpdz = p>0 a) Prove that (b) Use the formula (k +1)3- k3k23k +1 repeatedly to show that (for any n) m n (n+1) 7n and thus k2 mav be written in terms ofk- . Specifi- k-1 cally rL Note: An induction argument is not required here. (c) Using the same method with (complete) induction, or otherwise,...
3. Suppose we are doing a sequence of operations (numbered 1, 2, 3, ...) such that the ith operation: - costs 1 if i is not a power of 2 - costs i if i is a power of 2. For example, the following table shows the costs for each of the first few operations: Operation 1 2 3 4 5 6 7 8 9 … Cost 1 2 1 4 1 1 1 8 1 … Determine the best...
IN PYTHON 1.Choose a positive integer 2. To get the next number in the sequence we do the following: If the integer is odd, we multiply by 3 and add 1. If the integer is even, we divide by 2. It is hypothesized that the above sequence will always converge to the value of 1, regardless of any valid initial choice. This hypothesis is known as the Collatz Conjecture. For example, if we start at 5, the numbers generated by...
1 L, as a dynamical system (Notes from Assignment #2) We take our definition of dynamical system to be an "object" along with a specific set of modifications that can be performed (dynamically) upon this object. In this case, the object is a bi-infinite straight road with a lamp post at every street corner and a marked lamp (the position of the lamplighter). There are two possible types of modifications: the lamplighter can walk any distance in either direction from...
Problem 3 Consider a random walk on the integers. Suppose we start from 0, and at each step, we either go left or right with probability 1/2, ie, Xo--0, and Xt+1 Xt+Zt, where Zt-1 with probability 1/2, and Zt1 with probability 1/2. What is the probability distribution of XT? What is E(X) and Var(XT)? Problem 3 Consider a random walk on the integers. Suppose we start from 0, and at each step, we either go left or right with probability...
Could I have help with entire question please. P+1 pt1 for any 2. In this question we will show by first principles that xpdz = p>0 a) Prove that (b) Use the formula (k +1)3- k3k23k +1 repeatedly to show that (for any n) m n (n+1) 7n and thus k2 mav be written in terms ofk- . Specifi- k-1 cally rL Note: An induction argument is not required here. (c) Using the same method with (complete) induction, or otherwise,...
Suppose there are two firms, 1 and 2, each with M C = AC = 10. They each choose quantities of output, y1 and y2. The market demand is p= 70−2y, where y=y1+y2. Each firm discounts the future at rate δ <1per period. a. [6 marks] First calculate the Cournot equilibrium outputs. Call these y∗1 and y∗2. b. [4 marks] Next, calculate how much each firm would produce if the two firms colluded to act as a monopoly. Call these...