Text this: Principal Primitive Ideals in Quadratic Orders and Pell’s Equations