Hercules and the Hydra

Hercules is fighting with the Hydra, which has 2018 heads. In each round, at most three heads can be cut off. If he cuts off one head, it immediately grows back. If he cuts off two heads, nine heads grow. If three heads are cut off, the further development depends on whether the remaining number of heads is divisible by seven. If yes, the number of heads is reduced to one seventh; if not, the number of heads is increased 10 000 times. What is the minimum number of rounds in which Hercules is able to defeat the Hydra and cut off the last head?

Final Answer:

n =  557

Step-by-step explanation:

x1=(20183)/7=72015=28776287.8571 x2=(20182+93)/7=72022=28876288.8571  n0=2018  n1=(n03) 10000=(20183) 10000=20150000 n2=(n13)/7=(201500003)/7=2878571 n3=(n23)/7=(28785713)/7=411224 n4=(n33) 10000=(4112243) 10000=4112210000  n=557



Help us improve! If you spot a mistake, please let let us know. Thank you!







Tips for related online calculators
Do you want to perform natural numbers division - find the quotient and remainder?

You need to know the following knowledge to solve this word math problem:

algebraarithmeticbasic operations and conceptsnumbersthemes, topicsGrade of the word problem

Related math problems and questions: