I know that $\pi \approx \sqrt{10}$, but that only gives one decimal place correct. I also found an algebraic number approximation that gives ten places but it's so cumbersome it's just much easier to just memorize those ten places.
What's a good approximation to $\pi$ as an irrational algebraic number (or algebraic integer if possible) that is easier to memorize than the number of places it gives correct?
EDIT: Algebraic number preferably of low degree, such as $2$ or $3$ (quadratic or cubic).
If you want to stay with degree two or three but no larger, find an implementation of PSLQ and feed it the quadruple (at incredible decimal accuracy) $$ \left(\pi^3, \; \pi^2, \; \pi, \; 1 \right) $$ so as to ask for integer relations, that is integers $a_3, a_2, a_1, a_0$ of not terribly large absolute value, so that $$ a_3 \pi^3 + a_2 \pi^2 + a_1 \pi + a_0 $$ is very close to zero. Then the relevant root of $a_3 x^3 + a_2 x^2 + a_1 x + a_0$ is a good approximation for $\pi.$
The others appear to be getting good results with degree four, you might try that, no more difficult once you have the code for the general cubic correct.
degrees five to ten
degree three:
degree two:
repeating degree ten, I like how the coefficients are small and begin with 2, I have not found any of these monic (beginning with $1$)
pretty graph: