Analytic and geometric approaches to diophantine equations and related topics