Deck 5: Sequences, Mathematical Induction, and Recursion

Full screen (f)
exit full mode
Question
 <div style=padding-top: 35px>
Use Space or
up arrow
down arrow
to flip the card.
Question
Transform the following summation by making the change of variable i = k + 1: Transform the following summation by making the change of variable i = k + 1:  <div style=padding-top: 35px>
Question
   <div style=padding-top: 35px>
   <div style=padding-top: 35px>
Question
Use mathematical induction to prove that for all integers Use mathematical induction to prove that for all integers  <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
Use mathematical induction to prove that for all integers Use mathematical induction to prove that for all integers  <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
Use the formula Use the formula     where m is an integer that is at least 1.<div style=padding-top: 35px>
Use the formula     where m is an integer that is at least 1.<div style=padding-top: 35px>
where m is an integer that is at least 1.
Question
   <div style=padding-top: 35px>
   <div style=padding-top: 35px>
Question
Use strong mathematical induction to prove that for all integers Use strong mathematical induction to prove that for all integers   either n is prime or n is a product of prime numbers.<div style=padding-top: 35px>
either n is prime or n
is a product of prime numbers.
Question
 <div style=padding-top: 35px>
Question
  (a) Is P(0) true? Justify your answer.   (c) Finish the proof started in (b) above.<div style=padding-top: 35px>
(a) Is P(0) true? Justify your answer.   (a) Is P(0) true? Justify your answer.   (c) Finish the proof started in (b) above.<div style=padding-top: 35px>
(c) Finish the proof started in (b) above.
Question
Use summation notation to rewrite the following: Use summation notation to rewrite the following:  <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
Use a summation symbol to rewrite the following: Use a summation symbol to rewrite the following:  <div style=padding-top: 35px>
Question
Use repeated division by 2 to find the binary representation of the number 1032. Show your
work.
Question
Transform the following summation by making the change of variable j = k + 1 : Transform the following summation by making the change of variable j = k + 1 :  <div style=padding-top: 35px>
Question
  Use strong mathematical induction to prove that for all integers  <div style=padding-top: 35px>
Use strong mathematical induction to prove that for all integers   Use strong mathematical induction to prove that for all integers  <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
In a Triple Tower of Hanoi, there are three poles in a row and 3n disks, three of each of n
different sizes, where n is any positive integer. Initially, one of the poles contains all the disks
placed on top of each other in triples of decreasing size. Disks are transferred one by one from
one pole to another, but at no time may a larger disk be placed on top of a smaller disk.
However, a disk may be placed on top of one of the same size. Let In a Triple Tower of Hanoi, there are three poles in a row and 3n disks, three of each of n different sizes, where n is any positive integer. Initially, one of the poles contains all the disks placed on top of each other in triples of decreasing size. Disks are transferred one by one from one pole to another, but at no time may a larger disk be placed on top of a smaller disk. However, a disk may be placed on top of one of the same size. Let   be the minimum number of moves needed to transfer a tower of 3n disks from one pole to another. Find a recurrence relation for   Justify your answer carefully.<div style=padding-top: 35px>
be the minimum number
of moves needed to transfer a tower of 3n disks from one pole to another. Find a recurrence
relation for In a Triple Tower of Hanoi, there are three poles in a row and 3n disks, three of each of n different sizes, where n is any positive integer. Initially, one of the poles contains all the disks placed on top of each other in triples of decreasing size. Disks are transferred one by one from one pole to another, but at no time may a larger disk be placed on top of a smaller disk. However, a disk may be placed on top of one of the same size. Let   be the minimum number of moves needed to transfer a tower of 3n disks from one pole to another. Find a recurrence relation for   Justify your answer carefully.<div style=padding-top: 35px>
Justify your answer carefully.
Question
 <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
A sequence is defined recursively as follows: A sequence is defined recursively as follows:   It is proposed that an explicit formula for this sequence is   Use mathematical induction to check whether this proposed formula is correct.<div style=padding-top: 35px>
It is proposed that an explicit formula for this sequence is A sequence is defined recursively as follows:   It is proposed that an explicit formula for this sequence is   Use mathematical induction to check whether this proposed formula is correct.<div style=padding-top: 35px>
Use mathematical induction to check whether this proposed formula is correct.
Question
 <div style=padding-top: 35px>
Question
A sequence A sequence   ... is defined recursively as follows:   Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers  <div style=padding-top: 35px>
... is defined recursively as follows: A sequence   ... is defined recursively as follows:   Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers  <div style=padding-top: 35px>
Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers A sequence   ... is defined recursively as follows:   Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers  <div style=padding-top: 35px>
Question
  If appropriate, simplify your answer using one of the following reference formulas:  <div style=padding-top: 35px>
If appropriate, simplify your answer using one of the following reference formulas:
  If appropriate, simplify your answer using one of the following reference formulas:  <div style=padding-top: 35px>
Question
The following while loop is annotated with a pre- and post-condition and also a loop invariant.
Use the loop invariant theorem to prove the correctness of the loop with respect to the pre-
and post-conditions. The following while loop is annotated with a pre- and post-condition and also a loop invariant. Use the loop invariant theorem to prove the correctness of the loop with respect to the pre- and post-conditions.  <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
In a Double Tower of Hanoi with Adjacency Requirement there are three poles in a row and
2n disks, two of each of n different sizes, where n is any positive integer. Initially pole A (at
one end of the row) contains all the disks, placed on top of each other in pairs of decreasing
size. Disks may only be transferred one-by-one from one pole to an adjacent pole and at no
time may a larger disk be placed on top of a smaller one. However a disk may be placed on
top of another one of the same size. Let C be the pole at the other end of the row and let In a Double Tower of Hanoi with Adjacency Requirement there are three poles in a row and 2n disks, two of each of n different sizes, where n is any positive integer. Initially pole A (at one end of the row) contains all the disks, placed on top of each other in pairs of decreasing size. Disks may only be transferred one-by-one from one pole to an adjacent pole and at no time may a larger disk be placed on top of a smaller one. However a disk may be placed on top of another one of the same size. Let C be the pole at the other end of the row and let    <div style=padding-top: 35px>
In a Double Tower of Hanoi with Adjacency Requirement there are three poles in a row and 2n disks, two of each of n different sizes, where n is any positive integer. Initially pole A (at one end of the row) contains all the disks, placed on top of each other in pairs of decreasing size. Disks may only be transferred one-by-one from one pole to an adjacent pole and at no time may a larger disk be placed on top of a smaller one. However a disk may be placed on top of another one of the same size. Let C be the pole at the other end of the row and let    <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Question
A sequence is defined recursively as follows: A sequence is defined recursively as follows:   Use mathematical induction to verify that this sequence satisfies the explicit formula  <div style=padding-top: 35px>
Use mathematical induction to verify that this sequence satisfies the explicit formula A sequence is defined recursively as follows:   Use mathematical induction to verify that this sequence satisfies the explicit formula  <div style=padding-top: 35px>
Question
 <div style=padding-top: 35px>
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/37
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 5: Sequences, Mathematical Induction, and Recursion
1
2
Transform the following summation by making the change of variable i = k + 1: Transform the following summation by making the change of variable i = k + 1:
3

4
Use mathematical induction to prove that for all integers Use mathematical induction to prove that for all integers
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
5
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
6
Use mathematical induction to prove that for all integers Use mathematical induction to prove that for all integers
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
7
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
8
Use the formula Use the formula     where m is an integer that is at least 1.
Use the formula     where m is an integer that is at least 1.
where m is an integer that is at least 1.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
9

Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
10
Use strong mathematical induction to prove that for all integers Use strong mathematical induction to prove that for all integers   either n is prime or n is a product of prime numbers.
either n is prime or n
is a product of prime numbers.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
11
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
12
  (a) Is P(0) true? Justify your answer.   (c) Finish the proof started in (b) above.
(a) Is P(0) true? Justify your answer.   (a) Is P(0) true? Justify your answer.   (c) Finish the proof started in (b) above.
(c) Finish the proof started in (b) above.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
13
Use summation notation to rewrite the following: Use summation notation to rewrite the following:
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
14
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
15
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
16
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
17
Use a summation symbol to rewrite the following: Use a summation symbol to rewrite the following:
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
18
Use repeated division by 2 to find the binary representation of the number 1032. Show your
work.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
19
Transform the following summation by making the change of variable j = k + 1 : Transform the following summation by making the change of variable j = k + 1 :
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
20
  Use strong mathematical induction to prove that for all integers
Use strong mathematical induction to prove that for all integers   Use strong mathematical induction to prove that for all integers
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
21
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
22
In a Triple Tower of Hanoi, there are three poles in a row and 3n disks, three of each of n
different sizes, where n is any positive integer. Initially, one of the poles contains all the disks
placed on top of each other in triples of decreasing size. Disks are transferred one by one from
one pole to another, but at no time may a larger disk be placed on top of a smaller disk.
However, a disk may be placed on top of one of the same size. Let In a Triple Tower of Hanoi, there are three poles in a row and 3n disks, three of each of n different sizes, where n is any positive integer. Initially, one of the poles contains all the disks placed on top of each other in triples of decreasing size. Disks are transferred one by one from one pole to another, but at no time may a larger disk be placed on top of a smaller disk. However, a disk may be placed on top of one of the same size. Let   be the minimum number of moves needed to transfer a tower of 3n disks from one pole to another. Find a recurrence relation for   Justify your answer carefully.
be the minimum number
of moves needed to transfer a tower of 3n disks from one pole to another. Find a recurrence
relation for In a Triple Tower of Hanoi, there are three poles in a row and 3n disks, three of each of n different sizes, where n is any positive integer. Initially, one of the poles contains all the disks placed on top of each other in triples of decreasing size. Disks are transferred one by one from one pole to another, but at no time may a larger disk be placed on top of a smaller disk. However, a disk may be placed on top of one of the same size. Let   be the minimum number of moves needed to transfer a tower of 3n disks from one pole to another. Find a recurrence relation for   Justify your answer carefully.
Justify your answer carefully.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
23
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
24
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
25
A sequence is defined recursively as follows: A sequence is defined recursively as follows:   It is proposed that an explicit formula for this sequence is   Use mathematical induction to check whether this proposed formula is correct.
It is proposed that an explicit formula for this sequence is A sequence is defined recursively as follows:   It is proposed that an explicit formula for this sequence is   Use mathematical induction to check whether this proposed formula is correct.
Use mathematical induction to check whether this proposed formula is correct.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
26
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
27
A sequence A sequence   ... is defined recursively as follows:   Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers
... is defined recursively as follows: A sequence   ... is defined recursively as follows:   Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers
Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers A sequence   ... is defined recursively as follows:   Use (strong) mathematical induction to prove that sn is divisible by 4 for all integers
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
28
  If appropriate, simplify your answer using one of the following reference formulas:
If appropriate, simplify your answer using one of the following reference formulas:
  If appropriate, simplify your answer using one of the following reference formulas:
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
29
The following while loop is annotated with a pre- and post-condition and also a loop invariant.
Use the loop invariant theorem to prove the correctness of the loop with respect to the pre-
and post-conditions. The following while loop is annotated with a pre- and post-condition and also a loop invariant. Use the loop invariant theorem to prove the correctness of the loop with respect to the pre- and post-conditions.
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
30
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
31
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
32
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
33
In a Double Tower of Hanoi with Adjacency Requirement there are three poles in a row and
2n disks, two of each of n different sizes, where n is any positive integer. Initially pole A (at
one end of the row) contains all the disks, placed on top of each other in pairs of decreasing
size. Disks may only be transferred one-by-one from one pole to an adjacent pole and at no
time may a larger disk be placed on top of a smaller one. However a disk may be placed on
top of another one of the same size. Let C be the pole at the other end of the row and let In a Double Tower of Hanoi with Adjacency Requirement there are three poles in a row and 2n disks, two of each of n different sizes, where n is any positive integer. Initially pole A (at one end of the row) contains all the disks, placed on top of each other in pairs of decreasing size. Disks may only be transferred one-by-one from one pole to an adjacent pole and at no time may a larger disk be placed on top of a smaller one. However a disk may be placed on top of another one of the same size. Let C be the pole at the other end of the row and let
In a Double Tower of Hanoi with Adjacency Requirement there are three poles in a row and 2n disks, two of each of n different sizes, where n is any positive integer. Initially pole A (at one end of the row) contains all the disks, placed on top of each other in pairs of decreasing size. Disks may only be transferred one-by-one from one pole to an adjacent pole and at no time may a larger disk be placed on top of a smaller one. However a disk may be placed on top of another one of the same size. Let C be the pole at the other end of the row and let
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
34
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
35
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
36
A sequence is defined recursively as follows: A sequence is defined recursively as follows:   Use mathematical induction to verify that this sequence satisfies the explicit formula
Use mathematical induction to verify that this sequence satisfies the explicit formula A sequence is defined recursively as follows:   Use mathematical induction to verify that this sequence satisfies the explicit formula
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
37
Unlock Deck
Unlock for access to all 37 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 37 flashcards in this deck.