Problemset 4_ Sequence, Summation, Recurrence Solution
Problemset 4_ Sequence, Summation, Recurrence Solution
What are the terms a0, a1, a2 and a3 of the sequence {an}, where an equals
Q2
a) (−2)n? b) 3? c) 7 + 4n? d) 2n + (−2)n?
Find the first five terms of the sequence defined by each of the following recurrence relations
and initial conditions given below:
a) an = 6an−1, a0 = 2.
Q4 b) an = a2n−1, a1 = 2.
c) an = an−1 + 3an−2, a0 = 1, a1 = 2.
d) an = nan−1 + n2an−2, a0 = 1, a1 = 1.
e) an = an−1 + an−3, a0 = 1, a1 = 2, a2 = 0.
Show that the sequence {an} is a solution of the recurrence relation an = −3an−1 + 4an−2 if
a) an = 0.
Q5 b) an = 1.
c) an = (−4)n.
d) an = 2(−4)n + 3
Show that the sequence {an} is a solution of the recurrence relation an = an−1 + 2an−2 + 2n − 9
if
a) an = −n + 2.
Q7
b) an = 5(−1)n − n + 2.
c) an = 3(−1)n + 2n − n + 2.
d) an = 7 ⋅ 2n − n + 2.
Find the solution to each of these recurrence relations with the given initial conditions. Use
an iterative approach.
a) an = −an−1, a0 = 5.
b) an = an−1 + 3, a0 = 1.
Q8 c) an = an−1 − n, a0 = 4.
d) an = 2an−1 − 3, a0 = −1.
e) an = (n + 1)an−1, a0 = 2.
f ) an = 2nan−1, a0 = 3.
g) an = −an−1 + n − 1, a0 = 7.
Assume that the population of the world in 2017 was 7.6 billion and is growing at the rate of
1.12% a year.
Q11 a) Set up a recurrence relation for the population of the world n years after 2017.
b) Find an explicit formula for the population of the world n years after 2017.
c) What will the population of the world be in 2050?
A factory makes custom sports cars at an increasing rate. In the first month only one car is
made, in the second month two cars are made, and so on, with n cars made in the nth month.
a) Set up a recurrence relation for the number of cars produced in the first n months by this
Q12 factory.
b) How many cars are produced in the first year?
c) Find an explicit formula for the number of cars produced in the first n months by this
factory.
An employee joined a company in 2017 with a starting salary of $50,000 per year. Every year
this employee receives a raise of $1000 plus 5% of the salary of the previous year.
Q13 a) Set up a recurrence relation for the salary of this employee 𝑛 years after 2017.
b) What will the salary of this employee be in 2025?
c) Find an explicit formula for the salary of this employee 𝑛 years after 2017.
For each of these lists of integers, provide a simple formula or rule that generates the terms
of an integer sequence that begins with the first term in each given list. Assuming that your
formula or rule is correct, determine the next three terms of the sequence.
a) 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, ...
b) 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, 8, 8, ...
Q15 c) 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, ...
d) 1, 2, 2, 2, 3, 3, 3, 3, 3, 5, 5, 5, 5, 5, 5, 5, ...
e) 0, 2, 8, 26, 80, 242, 728, 2186, 6560, 19682, ...
f ) 1, 3, 15, 105, 945, 10395, 135135, 2027025, 34459425, ...
g) 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, ...
h) 2, 4, 16, 256, 65536, 4294967296, ...
Find the closed formula for each of the following sequences by relating them to a well known
sequence. Assume the first term given is a1.
(a) 2, 5, 10, 17, 26, . . .
Q16
(b) 0, 2, 5, 9, 14, 20, . . .
(c) 8, 12, 17, 23, 30, . . .
(d) 1, 5, 23, 119, 719, . . .
Write down the first 5 terms (starting with a0 ) for each of the sequences described below.
Then give either a closed formula or a recursive definition for the sequence (whichever is
NOT given in the problem).
Q17 (a) an = ½ (n2 + n).
(b) an = 2an−1 − an−2 with a0 = 0 and a1 = 1.
(c) an = nan−1 with a0 = 1.
Consider the three sequences below. For each sequence, find a recursive definition. How are
these sequences related?
Q18 (a) 2, 4, 6, 10, 16, 26, 42, . . . .
(b) 5, 6, 11, 17, 28, 45, 73, . . . .
(c) 0, 0, 0, 0, 0, 0, 0, . . . .
Write down the first few terms of the sequence given by a1 = 3; an = 2an−1 + 4.
Q19
Then find a recursive definition for the sequence 10, 24, 52, 108, . . . .
Suppose you draw n lines in the plane so that every pair of lines cross (no lines are parallel)
and no three lines cross at the same point. This will create some number of regions in the
Q22 plane, including some unbounded regions. Call the number of regions Rn. Find a recursive
formula for the number of regions created by n lines, and justify why your recursion is
correct.
Consider the sum 4 + 11 + 18 + 25 + · · · + 249. How many terms (summands) are in the
Q24
sum?
Find the solution to the recurrence relation an = 3an−1 + 4an−2 with initial terms a0 = 2 and a1
Q29
= 3.
Think back to the magical candy machine at your neighborhood grocery store. Suppose that
the first time a quarter is put into the machine 1 Skittle comes out. The second time, 4
Q30
Skittles, the third time 16 Skittles, the fourth time 64 Skittles, etc. Find a recursive formula
for how many Skittles the nth customer gets.
Let an be the number of 1 × n tile designs you can make using 1 × 1 squares available in 4
colors and 1 × 2 dominoes available in 5 colors.
(a) First, find a recurrence relation to describe the problem. Explain why the recurrence
Q31 relation is correct (in the context of the problem).
(b) Write out the first 6 terms of the sequence a1, a2, . . . .
(c) Solve the recurrence relation.
The population of Utopia increases 5 percent each year. In 2000 the population was 10,000.
Q33
What was the population in 1970?
Assume that a Database table has 0 records at time n=0. Suppose that at time n, 100n new
records are populated into that table. The number of records increases 20 percent per
Q34
minute. Write a recurrence relation and an initial condition that defines the number of
records in the database table.
A wildlife reserve starts with 200 deers. The population increases by 15% annually due to
Q35 reproduction and natural growth. Write a recurrence relation for the deer population at the
end of n years.
A cup of coffee is initially at 90°C and is left to cool down in a room at a constant temperature
of 25°C. The temperature of the coffee decreases by 10% of the difference between its
Q36 current temperature and the room temperature every minute.
Write a recurrence relation for the temperature of the coffee at the end of n minutes.
A new machine has been purchased for $50,000. Its value depreciates by 12% of its current
Q37 value each year. Generate a recurrence relation for the value of the machine at the end of n
years.
A television channel holds a contest everyday. On day 1, the prize money is $1000. For each
day, the prize money increases by 10%, plus an additional $5 from the CEO. Model
Q38
recurrence relations for the contest. (Mention the base case). Solve the recurrence relation
and find what will be the prize money on the 11th day according to the Contest.
A person drops a tennis ball from the top of a 100 meter tall building. After each drop on the
Q39 ground, the ball jumps up to the two-third of its previous height. Find a recurrence relation
expressing the total distance covered by the ball before its nth drop on the ground.
Q40 Solve the following recurrence relation: 2an+2 = 4an+1 + 126an + 2. 5n. Here a0 = 0, a1 = 5.
Q41