• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Proof by induction

PowerMacG5

Diamond Member
Well, in my algorithms class, we are given a problem, and I just want to know if I am doing this proof by induction problem correctly. I think I am, but if I make an improper assumption, or some other stupid mistake, can someone correct me? Here is what I have:

Base case: 4^1 - 1 = 3. 3 is divisible by 3.
Assume: 4^n - 1 is divisible by 3.
4^(n+1) - 1 = (4^n)(4^1) - 1 = 4*4^n - 1 = 4*(4^n - 1) + 3

Since 4^n - 1 is divisible by 3, 4*(4^n - 1) is divisible by 3. And since 3 is divisible by 3, then 4*(4^n - 1) + 3 is divisible by 3. QED

Did I word my conclusion correctly, or should I change the wording?
 
Back
Top