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
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top