Elementary Number Theory and Its Applications