In this chapter we develop several functions and formulas that will serve us in our number theory investigations. We also discover that these functions exist in a harmonious relationship that is interesting in its own right. As a motivating problem, we describe what are called perfect numbers and we establish a few of their properties.