Proofs for recursive sets using induction

AI Thread Summary
T* is defined as a recursive set of ternary strings with specific formation rules. The discussion focuses on proving that certain strings cannot exist within T*, specifically those with 3^k + 1 zeros, 2^(k+1) digits, and a digit sum of 97. For part a), the proof by induction shows that if a string has 3^(k+1) + 1 zeros, it leads to a contradiction, confirming the statement. In part b), a similar induction approach is applied to demonstrate that no string can have exactly 2^(k+1) digits. The participants express confusion about formalizing their proofs and seek clarity on the connections between the properties of T* and the specified conditions.
evanx
Messages
4
Reaction score
0
T* is a recursive definition, a subset of the family of ternary strings. Let T* be the smallest set such that:

BASIS: 0 is in T*
INDUCTION STEP: If x,y in T*, then so are x0y, 1x2 and 2 x1.

a) Prove that if k in N, then there is no string in T* with exactly 3^k +1 zeros.
b) Prove that if k in N, then there is no string in T* that has exactly 2^(^k^+^1^) digits.
c) Prove that there is no string in T* whose digits sum to 97.

I have started drawing combinations of elements in T* and am at a lost for the correlation about x0y and the zeros for a). As for b), I suspect that the answer has soemthing to do with any string being one with odd numbered digits since I can have x, x0y, ax0yb, etc. But I have no idea on how to formalise my suspicions. For part c), I fail to see the connection between the sum of T*'s digits and x,y.

Please help, I have wrecked my brains for a week over this.
 
Physics news on Phys.org
Any suggestions?
 


a) To prove that there is no string in T* with exactly 3^k +1 zeros, we will use proof by induction on k.
Basis: For k = 0, there is only one string in T* with 3^k +1 zeros, which is the string "0". Therefore, the statement is true for k = 0.
Induction Step: Assume that for some k in N, there is no string in T* with exactly 3^k +1 zeros. We will prove that there is no string in T* with exactly 3^(k+1) +1 zeros.
Suppose there exists a string x in T* with exactly 3^(k+1) +1 zeros. Since x is in T*, it must have been formed by applying the induction step on some strings y and z in T*. This means that y0z, 1y2, and 2y1 are also in T*. However, the number of zeros in these strings is 3^k +2, which is not equal to 3^(k+1) +1. This contradicts our assumption that x has exactly 3^(k+1) +1 zeros. Therefore, there is no string in T* with exactly 3^(k+1) +1 zeros. By induction, we can conclude that there is no string in T* with exactly 3^k +1 zeros for any k in N.

b) To prove that there is no string in T* that has exactly 2^(k+1) digits, we will use proof by induction on k.
Basis: For k = 0, there is only one string in T* with 2^(k+1) digits, which is the string "0". Therefore, the statement is true for k = 0.
Induction Step: Assume that for some k in N, there is no string in T* with exactly 2^(k+1) digits. We will prove that there is no string in T* with exactly 2^(k+2) digits.
Suppose there exists a string x in T* with exactly 2^(k+2) digits. Since x is in T*, it must have been formed by applying the induction step on some strings y and z in T*. This means that y0z, 1y2, and 2y1 are
 
Thread 'Struggling to make relation between elastic force and height'
Hello guys this is what I tried so far. I used the UTS to calculate the force it needs when the rope tears. My idea was to make a relationship/ function that would give me the force depending on height. Yeah i couldnt find a way to solve it. I also thought about how I could use hooks law (how it was given to me in my script) with the thought of instead of having two part of a rope id have one singular rope from the middle to the top where I could find the difference in height. But the...
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Back
Top