Unit 3 explained answers · unfinished learning resource · TMP-SCI-074. Attempt the Unit 3 tasks first. Equivalent correct decompositions, formulas and proofs are welcome. The 32-point quiz and 40-point project are separate unpiloted formative groups, not semester marks, degree credit or a certification service. All eight planned units have manuscripts; whole-course validation remains unfinished. A numerical check cannot replace a requested model argument or induction proof.
Readiness
R1. u₁=2·3+1=7, u₂=15 and u₃=31. The subscript n+1 names the next position; u_n+1 would instead add one to the current value. A recurrence relates positions and values but they are not interchangeable.
R2. Check the proposed formula at indices 0 and 1. The step rule begins at n=2 and then uses two preceding indices. Applying it at n=1 would ask for f_(−1), which was not defined. Strong induction does not create a missing value or remove the required base checks.
R3. The strings are 000,001,010,100,101. Those ending in 0 are 000,010,100; those ending in 1 are 001,101. Appending 1 to a shorter word already ending in 1 produces an illegal 11 join, so doubling a shorter count includes invalid words.
R4. For {A,B,C,D}, the subsets are AB,AC,AD,BC,BD,CD, six in total; these denote unordered two-element sets. There is one empty word. Flipping one red/blue object changes the number of blue objects by exactly one, so it switches parity. The operation is reversible if the same object is selected again.
Guided tasks
G1. With initial values 2,5, the next terms are u₂=5+2·2=9, u₃=9+2·5=19 and u₄=19+2·9=37. With u₁ changed to 3, the terms begin 2,3,7,13. The step rule and u₀ alone do not choose between these sequences; the second initial value is consequential.
G2. Starting from f₀=1,f₁=2 gives f₂=3,f₃=5,f₄=8,f₅=13,f₆=21. At length two, appending 1 to the valid one-bit word 1 produces 11, so 2f₁=4 exceeds the correct count three. For an ending-0 word, deleting 0 gives a valid prefix and appending it back uniquely recovers the word. An ending-1 valid word of length at least two must end in 01. Delete those two bits; any valid prefix can regain 01 without forming 11, including across the boundary. The two extension families have different final bits, so they are disjoint and cover all valid words.
G3. The fixed value is L=−3, so a_n=−3+(1+3)2^n=4·2^n−3. Values through index four are 1,5,13,29,61. Base: at n=0 the formula gives one. Step: assuming a_k=4·2^k−3, the recurrence gives a_(k+1)=2(4·2^k−3)+3=4·2^(k+1)−3. Thus it holds for all n≥0 by induction, and a₄=61.
G4. The first sequence is 5,7,7,7,7; x₀=5 and x_n=7 for n≥1. The second is 5,3,1,−1,−3, with y_n=5−2n. Both are valid real-valued sequences. The second cannot represent a nonnegative population for every n≥0, since y₃=−1; its nonnegative values occur only at n=0,1,2. One would need a revised model rather than silently clipping negative terms.
G5. Write x_n=A·1^n+B·2^n. Initial conditions give A+B=2 and A+2B=3, so B=1,A=1. At n=0 and 1, 1+2^n gives two and three. For n≥2, assuming the preceding two formulas, 3(1+2^(n−1))−2(1+2^(n−2))=1+(6−2)2^(n−2)=1+2^n. The recurrence gives 2,3,5,9,17,33; the formula gives x₅=1+32=33. The two-base induction proves all indices, while the table corroborates a finite calculation.
G6. d₁=z₁−z₀=1 and the recurrence makes every later difference equal to d₁. Hence z_n=n. Directly, z₀=0,z₁=1 and 2(n−1)−(n−2)=n for n≥2. The candidate A·1^n+B·1^n is the constant A+B; it cannot be zero at index zero and one at index one. The characteristic root is repeated, so the distinct-root theorem's hypotheses fail rather than the recurrence being unsolvable.
G7. At n=1: (A₁,N₁,t₁)=(1,2,3). At n=2: (2,6,8). At n=3: (6,16,22). At n=4: (16,44,60). The scalar recurrence with t₀=1,t₁=3 gives 8,22,60 as well. Appending any of three letters at length two would count AA, giving nine instead of eight. A-ending and non-A-ending prefixes have different legal extensions, so the total alone needs either a refined state or a separately derived recurrence.
G8. At each n from zero through five, one factor in n(n−1)…(n−5) is zero, so g_n=h_n=2^n. At n=6, the product is 6!=720, so g₆=784 while h₆=64. Also 2g₅=2·32=64≠784=g₆, so g fails the specified recurrence at that index. Uniqueness compares sequences satisfying the same recurrence at every required index and matching the initial data; matching a finite prefix supplies only part of those hypotheses.
Independent practice
I1. The formula is v_n=4+3(n−1)=3n+1 for n≥1. Base n=1 gives four. If it holds at k≥1, then v_(k+1)=3k+1+3=3(k+1)+1. The candidate 3n+4 already gives seven at n=1, contradicting the initial value. A shifted starting index must be preserved throughout the proof.
I2. The fixed value is one, and the initial deviation is two. Thus u_n=1+2·2^n=2^(n+1)+1, giving 3,5,9,17,33 through index four. Base is three. The step 2(2^(k+1)+1)−1=2^(k+2)+1 verifies the formula. This also follows by multiplying the deviation u_n−1 by two at each step.
I3. The fixed value solves L=−2L+3, so L=1. The deviation starts at one, giving w_n=1+(−2)^n. It has w₁=−1 and w₄=17. Initial value: 1+1=2. Step: −2[1+(−2)^k]+3=1+(−2)^(k+1). Negative values are consistent with the real-valued recurrence, but cannot be cardinalities of finite sets.
I4. Let t₀=1,t₁=2,t₂=4 because every binary word of length below three is valid. For n≥3, a valid word has a final run of zero, one or two 1s. It must have a preceding 0; a length-at-least-three word consisting only of 1s would be invalid. The suffix blocks are 0,01,011. Deleting them gives arbitrary valid prefixes of lengths n−1,n−2,n−3, respectively. Appending the block is reversible and its leading 0 prevents a forbidden cross-boundary run. Thus t_n=t_(n−1)+t_(n−2)+t_(n−3), giving 1,2,4,7,13,24,44 through index six.
I5. The equation λ²−3λ−4=(λ−4)(λ+1)=0 has roots 4,−1. Fit x_n=A4^n+B(−1)^n: A+B=2 and 4A−B=3, hence A=B=1. So x_n=4^n+(−1)^n and x₄=256+1=257. Both bases match. Each term separately satisfies the step because 4²=3·4+4 and (−1)²=3(−1)+4; their sum does too. Together with two-base uniqueness this verifies the solution, whose first terms are 2,3,17,63,257.
I6. The first difference is two and each later difference is the same, giving z_n=1+2n. Bases are one and three; 2[1+2(n−1)]−[1+2(n−2)]=1+2n verifies the step. The characteristic polynomial is (λ−1)², so its roots are not distinct. A theorem whose denominator contains their difference cannot be used unchanged.
I7. At n=3, 3t₂=24 counts extensions of all eight valid two-letter words, including appending A to AA-free words ending in A. Those prefixes are BA and CA, so the two invalid extensions are BAA and CAA. Correct total: 24−2=22. Continue the states: (A₄,N₄)=(16,44), then (A₅,N₅)=(44,120), giving t₅=164. These are exact finite counts; no mechanism assigns probabilities to words or letters in the question.
I8. At n=1, y₁=1/(−1)=−1 is defined. At n=2 the denominator is zero, so the proposed definition fails before y₂ is assigned. Separately, q_n=q_(n+1)+1 rearranges without division to q_(n+1)=q_n−1. With q₀=4 this uniquely gives q_n=4−n, namely 4,3,2,1,0,−1,… . A future reference can sometimes be repaired algebraically; an actual division by zero cannot be repaired by ignoring it.
Homework
H1. Define F_n as in the learner text. For n≥2, the ending-0 family is bijective with F_(n−1), and the ending-01 family with F_(n−2), using deletion and append operations that undo each other. Different final bits make the families disjoint, and the no-11 rule makes them exhaustive. The actual empty and one-bit sets give f₀=1,f₁=2. This proves the counting recurrence. Separately, if two numerical sequences share two initial values and the step rule, induction on the index shows equality: the two preceding equal values force the next equality. This identifies a solution after the model has been derived; it does not prove that an arbitrary recurrence describes F_n. Changing the second initial value changes at least that entry and usually later entries while preserving the algebraic step rule.
H2. Take integers n≥0 and fixed real c,r,s. For n≥1, finite iteration gives a_n=r^n c+sΣ_(j=0)^(n−1) r^j, interpreting the displayed finite sum as 1+r+… and proving its step by multiplication by r followed by adding s. Check a₀=c separately. If r=1, induction gives c+ns. If r=0, direct evaluation gives c at zero and s thereafter. For r≠0,1, the finite cancellation (r−1)(1+r+…+r^(n−1))=r^n−1 yields a_n=r^n c+s(r^n−1)/(r−1); it also gives c at zero. Equivalently set L=s/(1−r), giving L+(c−L)r^n. This transformation shows a fixed value, not necessarily convergence: r=3 with c≠L makes the deviation's magnitude grow. No infinite-series convergence argument is needed.
H3. Let λ,μ be distinct nonzero real roots of z²−pz−q. Multiplication of each root identity by the appropriate nonnegative power verifies that λ^n and μ^n satisfy the recurrence for n≥2. Distributivity makes any Aλ^n+Bμ^n a solution of the step rule. Solve A+B=x₀ and Aλ+Bμ=x₁; λ−μ≠0 gives the unique A=(x₁−μx₀)/(λ−μ), B=x₀−A. The expression then matches both initial values, and the earlier-term uniqueness induction identifies it with the recursively defined sequence. The proof does not cover zero, repeated or nonreal roots. For z₀=0,z₁=1 and z_n=2z_(n−1)−z_(n−2), the root is one twice and the duplicated candidates are constants. Instead z_n−z_(n−1) is constant one, so z_n=n; direct substitution verifies it. This repairs the example without claiming a general repeated-root solution theorem.
H4. A good audit separates four layers. First specify objects/equality/index domain. Second prove each recursive case has a reversible smaller-object description and that the cases partition the larger objects. Third inspect empty and short objects to obtain actual initial values. Fourth check a proposed formula's bases and every symbolic recurrence step. The h/g expressions agree at six initial indices but g fails the next step, so their matching prefix cannot establish a universal formula. An independent finite check for no-11 words can generate every binary word of a fixed length and filter adjacent pairs directly, instead of regenerating the same recurrence. For tilings, generate finite tile words and filter their total length and adjacency; do not call the recurrence output an independent object enumeration. Such checks can catch errors but do not replace the general proof or test real-world interpretations.
Quiz key and rubric: 32 points
Q1 (8). The fixed value is one and a₀−1=3, so a_n=1+3·2^n. Recursive values are 4,7,13,25,49; the formula gives a₄=1+48=49. Base at zero is four. If a_k=1+3·2^k, then 2a_k−1=1+3·2^(k+1), completing induction. Rubric: 2 for a justified formula, 2 for both a₄ computations, 3 for explicit base/step/range, 1 for distinguishing a finite comparison from proof.
Q2 (8). Let c_n count tilings. The empty strip has one tiling, and lengths one and two have only all-square tilings, so c₀=c₁=c₂=1. For n≥3, remove a final square or a final length-three piece; the two disjoint reversible cases give c_n=c_(n−1)+c_(n−3). The values through seven are 1,1,1,2,3,4,6,9. At length six, fixing j three-pieces leaves 6−3j squares and 6−2j tiles in total. Choose the j positions of the three-pieces: C(6−2j,j), for j=0,1,2. Counts are 1,4,1, summing to six. Rubric: 2 for bases and legal recurrence range, 2 for reversible case explanation, 2 for the correct table, 2 for the independent fixed-j count and its position meaning.
Q3 (8). The roots of λ²−λ−2 are 2 and −1. Write x_n=A2^n+B(−1)^n. Conditions A+B=3 and 2A−B=4 give A=7/3,B=2/3. Thus x_n=[7·2^n+2(−1)^n]/3, giving x₄=(112+2)/3=38. The bases are (7+2)/3=3 and (14−2)/3=4. Each root power satisfies the step rule, so the linear combination does too; with both bases, uniqueness finishes the verification. With only x₀=3, A+B=3 leaves a family, for example A=3,B=0 versus A=0,B=3, with different next values. Rubric: 2 for roots and candidate family, 2 for fitting both constants, 2 for bases/step/uniqueness verification, 1 for x₄, 1 for the missing-initial-value explanation.
Q4 (8). Use A_n,N_n only for words with the fixed first letter. At length one, (A₁,N₁)=(1,0). The same legal append transitions apply for n≥2: A_n=N_(n−1), N_n=2(A_(n−1)+N_(n−1)). The next state pairs are (0,2),(2,4),(4,12), with totals 1,2,6,16 at lengths one through four. Thus the requested count is 16. Although the unrestricted total at length four is 60, A is singled out by the forbidden-AA rule; swapping A with B does not preserve that rule. The first-letter classes therefore need not have equal sizes, and 60/3=20 is not justified. Rubric: 2 for the fixed-letter initial state, 2 for transitions with legal-extension explanation, 2 for table/16, 2 for the failed-symmetry analysis.
Project key and rubric: 40 points
P1 (10). The empty strip has one tiling, the empty tile word, so a₀=1. Length one has only S, so a₁=1. For n≥2, a tiling ends in S, R or B. Removing S leaves any length n−1 tiling. Removing a coloured domino leaves any length n−2 tiling, with two colour choices on replacement. The cases are disjoint by final tile and reversible, giving a_n=a_(n−1)+2a_(n−2). Values through six are 1,1,3,5,11,21,43. Zero for a₀ would erase valid all-domino or short extensions whose remaining prefix is empty. Rubric: 2 for actual bases/empty-object meaning, 4 for disjoint reversible cases and factor two, 2 for legal range, 2 for the table through six.
P2 (10). With j dominoes there are n−2j squares, n−j total tiles and C(n−j,j) choices of domino positions in the tile word. Independently colour the j dominoes in 2^j ways. Thus
a_n = Σ from j=0 to floor(n/2) of C(n−j,j)2^j.
Every tiling has a unique j, position set and colour word, so the cases cover it once. At n=6, the j=0,1,2,3 contributions are 1,10,24,8, totalling 43. For the closed formula, λ²−λ−2=(λ−2)(λ+1), so a_n=A2^n+B(−1)^n. Bases A+B=1, 2A−B=1 give A=2/3,B=1/3, hence a_n=[2^(n+1)+(−1)^n]/3. At n=0,1 this gives one. Each root power satisfies the recurrence, so their combination does; two-base uniqueness proves the formula. This is independent of the direct position/colour counting derivation. Rubric: 3 for the finite-sum model/range/uniqueness, 2 for its n=6 evaluation, 2 for fitted closed formula, 3 for both bases and symbolic recurrence/uniqueness proof.
P3 (10). Short cases: b₀=1, b₁=1 and b₂=3 (SS,R,B). For n≥3, a final square can be removed to leave any restricted length n−1 tiling. If the last tile is a domino, a preceding tile must exist: a lone domino has length two, already handled. That preceding tile must be S. Remove the final S plus the coloured domino, leaving any restricted length n−3 tiling. Appending S then R or B is always valid, even when the old prefix ends in a domino, because S separates them. Therefore b_n=b_(n−1)+2b_(n−3), n≥3. Values through six are 1,1,3,5,7,13,23.
For a second method, fix j dominoes and s=n−2j squares. Place the squares in their sole relative order, yielding s+1 gaps, including both ends. Choose j distinct gaps and put one coloured domino in each. This is possible when j≥0, s≥0 and j≤s+1, or equivalently 0≤j≤floor((n+1)/3) for integer n≥0. The count is C(n−2j+1,j)2^j. Sum over that j range. At n=6 the j=0,1,2 contributions are 1,10,12, summing to 23. Decoding removes the dominoes and records their distinct gaps; no adjacent-domino tiling can arise. Rubric: 2 for three actual initial values, 3 for the legal-range recurrence and inverse cases, 2 for b₆/table, 3 for independent gap count/feasibility and total.
P4 (10). Base parity pairs are (e₀,o₀)=(1,0), (e₁,o₁)=(1,0), and (e₂,o₂)=(2,1), since SS and R are even while B is odd. For n≥3, a final S preserves parity. In the final S-plus-domino case, red preserves the prefix's parity while blue reverses it. Hence
e_n=e_(n−1)+e_(n−3)+o_(n−3);
o_n=o_(n−1)+o_(n−3)+e_(n−3).
The state pairs through six are (1,0),(1,0),(2,1),(3,2),(4,3),(7,6),(12,11). Their sums reproduce b_n, so e₆=12,o₆=11.
For a second proof, take any restricted tiling with a domino and flip the leftmost domino's colour. Tile lengths and adjacency do not change, the same domino is still leftmost, and flipping again recovers the tiling. Blue-domino parity changes by one. Thus the domino-containing even and odd classes are bijective. There is one remaining all-square tiling, which is even, including the empty tiling at n=0. Consequently e_n−o_n=1 and e_n+o_n=b_n, giving e_n=(b_n+1)/2 and o_n=(b_n−1)/2. This is parity of blue domino tiles, not of blue unit cells.
An audit should give a finite canonical tile-word universe, exact total-length and adjacency filters, and a direct parity count. Such enumeration checks the supplied finite instances; the reversible constructions and induction/uniqueness proofs establish their general stated relationships. No unspecified physical tolerance, production process or sampling probability is thereby validated. Rubric: 3 for bases and both justified state recurrences, 2 for e₆/o₆ and consistency, 3 for the involution/unpaired object and resulting relations, 2 for finite-check/proof/model distinctions.
Delayed follow-through
D1. The fixed value is one, so c_n=1+3^n. Recursion gives 2,4,10,28, confirming c₃=28. Base: 1+1=2. Step: 3(1+3^k)−2=1+3^(k+1). With initial value one, the deviation from the fixed value is zero and every term is one. Initial data select the sequence even when the step rule is unchanged.
D2. An adequate correction identifies the first unsupported step, supplies its missing hypothesis or state, and tests the corrected statement on new data. For the fallback, the wrong second-order rule agrees through n=3 but gives b₄=b₃+2b₂=5+6=11 instead of seven. It admits RR,RB,BR,BB as adjacent-domino tile words of length four. Removing only a final domino forgets whether the preceding tile is a domino. The correct end-domino case requires the separating square, yielding b_n=b_(n−1)+2b_(n−3) for n≥3 with b₀,b₁,b₂=1,1,3. As a changed check, at length five it gives 13, matching a direct gap count 1+8+4 rather than the unrestricted count 21.
Feedback use
Credit a sound alternate proof or enumeration with coverage reasoning. Distinguish an isolated arithmetic slip from a missing base, invalid domain, non-bijective decomposition or insufficient state. Consistent later reasoning may retain method credit, but a false counting model is a separate issue. These rubrics have not been calibrated against learner work and do not establish certified mastery. Full-semester assessment, human specialist appraisal, learner timing/transfer and actual device/assistive-technology validation remain unfinished.