Algebra, number theory, and algebraic geometry