Note : The reader must have a sturdy heart to go through the code, else the consequences will worse. Read further only if you think you are a redoubtable person.
Becoming a pirate is not an easy job. Every new pirate has to assassinate at least
1 man on the first day!!
4 men and 5 women on the second day!!
25 men and 20 women on the third day!!
90 men and 99 women on the fourth day!!
329 men and 400 women on the fifth day!!
:
:
:
and so on, according to the mysterious pirate sequence.
If the least no. of total assassinations from day 1 till day 11 one must take to become a formidable pirate are
What is the value of a+b ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
100 % of you get that the sequence is not an A.P
100 % of you get that the sequence is not a G.P
100 % of you get that the men and women assassinated don't matter, just the kills!
....but how many of you got that it was an Arithmetico-Geometric Sequence??
Let,
a(first term) = 1
d(common difference) = 2
r(common ratio) = 3
first term of the pirate sequence = a = 1
second term of the pirate sequence = (a+d)r = (1+2)3 = 9
third term of the pirate sequence = (a+2d)r.r = (1+4)9 = 45
:
:
:
therefore we must find,
n = 1 ∑ 1 1 ( a + ( n − 1 ) d ) r n − 1
Therefore,
a = 11 and b = 10
thus, a + b = 2 1