Aeon (Final Fantasy X)/Stat growth

Aeons' stats rise naturally with Yuna's but also with the number of battles your team took part in (including boss battles, and battles you run away from). The formula is the same, but parameters depend on the aeon and on the stat :

$$A = \max(x,y)+z$$

where $$A$$ is the Aeon's stat, $$x$$ is the value of the stat calculated from the number of battles, $$y$$ is the value of the stat calculated from Yuna's stats, and $$z$$ is the increase of the stat you've done using spheres after receiving Aeon's Soul from Belgemine.

Calculation of parameter y (calculated from Yuna's stats)
The most important parameter used in those formulas depends on Yuna's general stats. Let us call it $$Y$$. It depends on all of Yuna's stats -- except Luck--, that is, Yuna's max HP $$Y_{\text{max HP}}$$ (can't exceed 9999), Yuna's max MP $$Y_{\text{max MP}}$$ (can't exceed 999), Yuna's strength $$Y_{\text{str}}$$, Yuna's defense $$Y_{\text{def}}$$, Yuna's magic $$Y_{\text{mag}}$$, Yuna's magic defense $$Y_{\text{mdf}}$$, Yuna's agility $$Y_{\text{agi}}$$, Yuna's evasion $$Y_{\text{eva}}$$ and Yuna's accuracy $$Y_{\text{acc}}$$.

$$Y = \lfloor\frac{Y_{\text{max HP}}}{100}\rfloor+\lfloor\frac{Y_{\text{max MP}}}{10}\rfloor+Y_{\text{str}}+Y_{\text{def}}+Y_{\text{mag}}+Y_{\text{mdf}}+Y_{\text{agi}}+Y_{\text{eva}}+Y_{\text{acc}}$$

HP max
Formula is : $$y=a\times Y + b\times Y_{\text{max HP}}$$ (floored)

where $$Y_{\text{max HP}}$$ can't exceed 9999, and $$a$$ and $$b$$ values depend on the aeon following the table below :

MP max
Formula is : $$y=a\times Y + b\times Y_{\text{max MP}}$$ (floored)

where $$Y_{\text{max MP}}$$ can't exceed 999, and $$a$$ and $$b$$ values depend on the aeon following the table below :

Strength
Aeon's strength, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{str}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :

Defense
Aeon's defense, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{def}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :

Magic
Aeon's magic, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{mag}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :

Magic Defense
Aeon's magic defense, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{mdf}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :

Agility
Aeon's agility, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{agi}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :

Evasion
Aeon's evasion, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{eva}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :

Accuracy
Aeon's accuracy, like other stats cannot exceed 255.

Formula is : $$y=\frac Y a+ b\times Y_{\text{acc}}$$ (floored)

where $$a$$ and $$b$$ values depend on the aeon following the table below :