100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Notas de lectura

MT2504 Combinatorics and Probability: Chapter 3

Puntuación
-
Vendido
-
Páginas
7
Subido en
03-08-2022
Escrito en
2020/2021

Handwritten revision notes

Institución
Grado









Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
Estudio
Desconocido
Grado

Información del documento

Subido en
3 de agosto de 2022
Número de páginas
7
Escrito en
2020/2021
Tipo
Notas de lectura
Profesor(es)
--
Contiene
Todas las clases

Temas

Vista previa del contenido

CHAPTER 3 :




RECURSION AND GENERATING FUNCTIONS

RECURSIVE SEQUENCES

E. g (t - l ) a EIR



}
' "
f- (2) f- )
Cny
f- ( o ) -
- I
flo)
-
- I
,
fcc ) - a
,
= a =
a
,
. . .


,


f- ( htt) = a
f- ( )u
induction to show
use




E -



g ( C 27 -




} ! induction
I
f- Co) flu) n ← use
-
-
-
-




flute) = ( htt ) f- Ca)




E. g ( I -3 )
" ( rt "t )
'



Express flu) =

recursively .




via induction




)
"
S" " " t" "
"" = ° " "" "t " "" = " "" + " "" t '" " " "d to " th "
P"
=
"

"




f- ( c ) = l
flu ) =
02 ✓

tf (
' '

fcc) (n ( htt) ( Zntl ))
'
2
f Cz ) = 5 = t
flu ) t ti ) =
n t ( ht D 2n2+7nt6 = 2n2t4nt3nt 6
"

By t ( ntl ) (
#
f- (z )
= 14 =
f- (2) t 3 # H . =
n ( zntl) t G ( ht i ) =
2n (n t 2) t3(nt2 )

I ( htt ) ( 2n2 7- 6 ] ( znt 3) ( ntz)
=
=
+ n t


=
I ( atl ) ( ht 2) ( 2h t 3)

=
( htt ) ( ( ht c) t 1) ( 2 ( nti ) ti )
6 So the result holds for all n> o .




E.
g.
( 1.4 )

we define a recursive function fln ,
r ) for her > o and n > O as follows :




f- (n ,
o ) = f- ( n ,
n ) = I


f- ( n
,
r ) =
f (n -
I
,
r -
l ) t f- (n -
I
,
r )


( I It ( I ) )
"

Pascals identity ( ( F ) satisfies the conditions and boundary conditions f
:
same as .




So far r )
-

-

(7)

,×4
,




In :') F
vi. it
'
'

+
,


it: i!
" """ "
: innit ! n'÷
'
! inn
'
'
'
+

in .ir .net
-
= -




.
. r ! (n -
r )!



= r (n -
i )!
! (n
+ (n -
r ) (n -
i )! = (n -
i ) ! ( Yt

! (n )!
n -


A =




! (n
n !

)!
( =
( Y ))
r
-
r )! r -
r
r
-
r

, FIBONACCI NUMBERS
Definition :( 2. c)


The FIBONACCI NUMBERS fn are
given by the recurrence :




fn
'
-
O
,
f, -
- I for =
fn it for -

z
(n 32 )
,
-




E -



g . ( first few terms) :
1,1 2,3 5,8 13,21
, , , ,
. . -




2.2 )
g (
E -
:




theoretical Phd
Every computer scientist
graduates one student every year , except the first year after

how 2020 ?
they graduate . If there was one theoretical computer scientist in 1975
, many are there in




Let tn be the number of theoretical computer scientists ( Tcs ) in year 1975 t n :




t.in?:: : : :at:: :. . . e)boun::r:n:i: ions
I
to =
given
-




E I new student fn
no Has recurrence
but different
= -


same as
, ,




.




tn C- 1975
En t t n 2020 n 4S
-
= -
-
-
.
,
n -
z


^ n


l l tag =

fab
existing TCS , New graduates




Eg ( 2.3 )
How there long 1
many ways are to walk from step 0 to step n of a staircase
taking or 2

steps at a time with no
backtracking .




f
fi fi
n =3
' ' '




ar
.




( L
(




o o
o




let
Wn
=
number of walks / steps to step n .




W I to 1
step

to walk
only
=
, one
way
at
Wz 2
to walk to step directly to stop step I
=

Two step 2 : it or
ways .




'



:




For
larger n we can either to
step and then to walk to
walk n 2
step directly step n or
-


,




step n
-
l and take one
step .




walk
Every arises this
way ,
and the
types are
disjoint .





(
^ ^



n -
I n -
l
Wn =
Wn .
. two -
z
but
boundary conditions so




2 z
Wn '
fret ,
n -
n -




Wn .
,
walks to
step n -
I Wn -
z
walks to
step n -
2
$9.00
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
WinterBerry

Documento también disponible en un lote

Conoce al vendedor

Seller avatar
WinterBerry University of St Andrews
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
2
Miembro desde
3 año
Número de seguidores
2
Documentos
22
Última venta
9 meses hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes