Fundamental Number Theory with Applications