We know that,
Herminone starts with 27 beans and every 6 hrs it increases by 200% which means its multiplied by 3 every 6hrs
f(x) = 27* 3^x where x is times beans multiplies (every 6hrs)
Ron starts with 729 beans and every 18hrs it increases by 800% which means it multiplies by 9
g(y) = 729 * 9^y = 3
We need to know when they become equal
=> 27* 3^x = 729 * 9^y where y is times the beans increases (every 18hrs)
=> x = 3 + 2y ---- (1)
Also, y = [x/3] ----(2) (Since Ron cauldron increases after every 3 times of Hermione cauldron increase)
=> Lets try for y = 1
=> x = 3 + 2 = 5
And it also satisfies, equation 2 ( 1 = [5/3])
=> Time for 5 increases in Hermione cauldron = 6 * x = 6*5 =
30hrs=> Ron cauldron increases at the 18th hour once and Hermion's cauldron increase at 5 times mark on the 30th hour mark would equalize the bean count
Hermione = 27 * 3^5 = 6561
Ron = 729 * 9 = 6561
C. 30