Some number theoretic functions