Correction - the LV in this formula is the NEXT level you will acheive. So going from Level 1 to Level 2 you plug in 2 for LV in the formula.
Also I did not include the food required to Ascend - but that is a constant based on the level and the stars.