程序代写代做代考 AI go C MATH1061/7861, Wed 2 Sep 2020

MATH1061/7861, Wed 2 Sep 2020
dptr
Recursive definitions OM
Fibonacci 5
gcd21,13
21 1.13 8
llz35I6
O l l 2,3 5,8 13,21
an an it an 2
foreign
13 t.se e5 formula
8 1.5
a
an Mf 3t
ipg SES SES N SES Ses
SE.LI
g all sets that do notaemont
Question 1. Consider the sequence defined by the explicit formula: ai = (−1)i / i ! for each integer i ≥ 0. A. Write out the first five terms of this sequence, and guess a recurrence relation for the sequence. B. Show that this sequence satisfies your recurrence relation.
C. Write down a recursive definition of this sequence.
integers
DIII real
CThi E r’sd3 C773 242
b f
CDH t YI
n
MAYBE h
c
i
c
m
f
D

b
9n thldi9n
Guus
Proof Subslite formula into pec.ae
an
for
So that am is
cheek GIN
CDn
n
n
o
as follows:
◦ The empty string is in S;
◦ If s ∈ S, then s1 ∈ S and s01 ∈ S; RECURSION
◦ No strings are in S other than those constructed using the two rules above.
n
CD non D
true I
a
D
n ca Ed ist
ebay which is
Question 2. A binary string is a sequence of 0s and 1s, such as 0010110. Let S be the set of binary strings defined recursively
BASE
The questions:
A. Is 1101 ∈ S ? Why/why not?
B. Is 0110 ∈ S ? Why/why not?
C. Find a way to precisely describe all strings in S, without using recursion, and prove your answer correct.
E
gleuptystTD
E
S
Yy
111
It
101
011
0101
n
tI
n okay ns.incenzq
1
s
0
il
i 10,10 on O 101 0101 01010
nffgp.gs
not Note
RESTRICTION
Il Il Il Il

Ies n
O
sinai
uptyJ1 If
more E
byR4affer empty string
serve
Iz strip only ever get
longe Once
never
as cell
down ship
go see
have length 2g
to To
Mio i
0110 not present i 0110
S

ii
htt proof that
olio IES sIcS
Rules
a
EES
i
ends
SES
ES
S 01 Nothing else c S
No
skyendsin O
0110
in Q
Et s since

Rules
a
E
C
S
Conjectures
f
E Neunends
Qiao Tones
o
SI ES
GES
TOI
Nothing
ES else
ES
Ends incest eaff contains
Oo g a
DOnlyeverconteuiso.INT N4 evercontains.r.oonis
Conj
Poet
b Prone eveyfiy
Binay strips that are
Erin
E
III
ns g satisfies conj in s
oo

a
always
b
OR
i
E
EXERCISE
a
Recursive ends
Base
step
in l
immediately cs
with 1 so
Suppose
conj I
sky E
E
step
o
EI
a
of
only follow
sat
generates E