Formula for Rare Candy cost: - Two formulas, where x = level: - a = Formula for exp to next level, written as E - b = 1000(E^0.4)/sqrt(x) - 1000y^0.4, where y = E with x plugged in as 1 - min(a,max(b,y))