Talk:Ancient Temple/@comment-27039463-20160604131220/@comment-67.160.11.68-20160604172229

When I was testing it I was feeding in all ore values between $2 and $24 to see what the output was. The first patterns that stood out were that values up to 6 seemed like they were being squared, and multiples of 7 were being set to 0. What I found strange was that the values seemed to reset progression after each multiple. After creating a table of the rate of change of the values I noticed something odd. The rate of change increased by 2 each number, the same exact behavior that the equation x^2 has, so the multipliers were still increasing at a constant rate. I divided the results by the rate of change and saw the x % 7 pattern emerging. Thats how I found out the formula.