Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hn is the number of moves to solve. n = 1, Hn = 1 n = 2, Hn = 3 n = 3, Hn = 7 Hn = 2Hn

Similar presentations


Presentation on theme: "Hn is the number of moves to solve. n = 1, Hn = 1 n = 2, Hn = 3 n = 3, Hn = 7 Hn = 2Hn"— Presentation transcript:

1

2

3

4

5 Hn is the number of moves to solve.
n = 1, Hn = 1 n = 2, Hn = 3 n = 3, Hn = 7 Hn = 2Hn-1 + 1

6 Hn = 2Hn-1 + 1 = 2(2Hn-2 + 1) + 1 = 22Hn = 2n-1H1 + 2n-2 + 2n-3 + … = 2n-1 + 2n-2 + … = 2n - 1

7

8

9

10

11 Proof: r2 – c1r – c2 = 0 Roots: r12 = c1r1 + c2 r22 = c1r2 + c2 c1an-1 + c2an-2 = c1(α1r1n-1 + α2r2n-1) + c2(α1r1n-2 + α2r2n-2) = α1r1n-2(c1r1 + c2) + α2r2n-2(c1r2 + c2) = α1r1n-2r12 + α2r2n-2r22 = α1r1n + α2r2n = an

12 Suppose: a0 = C0, a1 = C1 C0 = α1 + α2 C1 = α1r1 + α2r2 α2 = C0 – α1 C1 = α1r1 + (C0 – α1)r2 = α1(r1 – r2) + C0r2 α1 = (C1 – C0r2)/(r1 – r2) α2 = C0 – α1 = C0 – (C1 – C0r2)/(r1 – r2) = (C0r1 – C1)/(r1 – r2) where r1 ≠ r2

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29


Download ppt "Hn is the number of moves to solve. n = 1, Hn = 1 n = 2, Hn = 3 n = 3, Hn = 7 Hn = 2Hn"

Similar presentations


Ads by Google