Assignment 3 Solutions
Assignment 3 Solutions
Assignmert -3 20117117,ECE
= (1+ 1)²- 1 : 3
= (? + 1)* - J = 6
y = (3+ 1) - 1= 10
* (4 + l) - 1 15
a- (5t 1)- 1 = 21
n(nt1)
2
= 1, holds
n=kt ,
Now, checking for
we bave
(k+1).
)
= (kt 1 )(kt1)t 1)
2
3
16
+7
64
15
256
t 1
16
1- 1
S
4. (3
RHS ta1
n 1.
. The nesult holds for
<et that the nes ult holds for n =k.
For n= ktl,
t fkt
<HS = f t fet... + fk
fka - 1 ) + (from o)
relation )
Fibonacci Recurnence
Ftkra -1 (Using
-1
where n kt 1
fat-1
mathenatical nduction,
By the principle of
- 1 V n1.
gcd (fafa )
(b) For nl, gcd (f fnt) gcd (1,1)
holds.
’ n, n t such that
.m,n-m
’ gcd (fk*ktz) 1
, The reSult holds for
he principle of mathemattal induc tion makes the resu lt hold o
Method of generatng turctons.
<et +
*g(*)=
1 -
(
A
Corp aring we get
6(
n-1
’ 2 -2, 3
.'. an C, (-2) t C (3)"
a, 3 > 32C1 + 3C
a =-5 => -5 C
3 = 3c) t 3C
= C1 E - 5, C, 6
an : -5.3^ + 6n.3,no
(c) we have t8 t 1 = o
a,CH)= (4)n
a, = 1 1 = C t 2 > C 1
an 4"t2.8", n 0
(e) characteristt eG,uation : (6
2+2-15 0
> = 5,3
a,(P Cz.24
'.The pa rtiular solution sati'sties the relotion,
C3-24 = 2Cz.24 t 15c3 24 t 24
C3 -1
12
(e)
an
(H) (P)
= c,-5)" + c,.3 - 2
Q,= 1 1 = C t C -?
= (-5) + 2.3" - 2 , n o
- 2 =
12
’ 1 -C1 +
125
- 27
24 8
a, 1 >1= C,t Cz
and c
we cannot compave the real and imaginay parts ot Oos <1
ay o may not be veal.
3 (i- 1)c,- (i+ 1) c,
Cln 2
2
)
2
Alternatively,
an c, (-1 t)" +C,(-I-)^
-i's in
from O, C,t C, 1
Frorm , (c1 - C,) = 3+ 1 = 4
2 2
(P) (8
xn'+pn : 5(* (n-)'* p(n-t) +)- 2(* tn-2)'* Bln-z)+*) +3n
Coefficient of n': = 5x - 2 t 3
Constant ter m:
2
3n-3
=0 0 C, t Co3
W17
a, = 3 > 3 c1(st 1z )+ e2(5-)
2
--3
’ 18 : (5+ Ni7 ) c, t (6-Vi7 )C
2
3n-3
2
A
4. (a)
Pegs
Tnitial position 1,?
Move L 1
1 2
Move 2
1,2
Move 3
Total 3 moves ae
rea uired.
A
(b) Pegs
Initial position 1,2,3, -, n
n- moves
Move an-t
h mo ves
n an + l, n 2 , a, 1
1-
i- 22c
Coefficient of t in f(«)
- 2(2)"- 1
- 2- 1 ,n1
an Coeffiuient of e^ is fe)
54, + Sa, +
-6cf*)= 6a,
11
A 8
2-1
32 - 1
>A - 4, B= 7
fe«)=4 (-7)
1 -3 1-2C
.)
*)t...)7(1+ 2% + (2)+
-41t 3e t (3
an = 4 (3)° -7(2)
(44 -a,) +
(1-)f(*) = a, + (a - ) t
(Usirg given conditions)
=5 + 2 +2 t . . .
>(1-fx)
1+ (2) + (2)*+
1
’ (1- )f(*) = 4t 1- 2
= 4
(L-) (1- 2c )
1
2
1 1-2
1-2 i-22
= 3 + 2.2"
1
:3+ 2 " , n 0
= 1 + (3-2) e + ( 6- 2(3) - 1)
1 +2 -
1+ -
1- 2c- +223
2
1+ -
(1-)(- 22-+ 1)
1 + 2
2(1-*)( 1t)(-)
2
1+ ¢
(1-) (1 + ) (1- 2 )
A +
B +
1- 2
(say)
1
(1-?)
A(1--22)+ 6(1- 3 + 2 ) t C
(1-z) ( 1 t )(1 -2c)
2A -28+C = 1
6
1 +
6(1+) 3 (1-2)
2(1-*)