I have:
(tabab =
Table[{a -> aa,
First@FindRoot[
Sum[n (E^(-beta/n - aa n))/(Sum[
E^(-beta/n - aa n), {n, 3, 12}]), {n, 3, 12}] -
6, {beta, 35}]}, {aa, 0, 30, 0.15}]) // TableForm;
It gives me the error: The line search decreased the step size to within tolerance specified by AccuracyGoal and PrecisionGoal but was unable to find a sufficient decrease in the merit function. You may need more than MachinePrecision digits of working precision to meet these tolerances.
How can I fix this?

