Cody

Solution 1623936

Submitted on 7 Sep 2018 by goc3
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(Invasion(0),0))

ans = 0

2   Pass
assert(isequal(Invasion(1),1))

ans = 1

3   Pass
assert(isequal(Invasion(2),2))

ans = 2

4   Pass
assert(isequal(Invasion(3),5))

ans = 5

5   Pass
assert(isequal(Invasion(4),10))

ans = 10

6   Pass
assert(isequal(Invasion(5),21))

ans = 21

7   Pass
assert(isequal(Invasion(6),42))

ans = 42

8   Pass
assert(isequal(Invasion(7),85))

ans = 85

9   Pass
assert(isequal(Invasion(8),170))

ans = 170

10   Pass
assert(isequal(Invasion(9),341))

ans = 341

11   Pass
assert(isequal(Invasion(10),682))

ans = 682

12   Pass
assert(isequal(Invasion(11),1365))

ans = 1365

13   Pass
assert(isequal(Invasion(12),2730))

ans = 2730