Regular and oscillatory parts for basic functions of prime numbers. I Regular parts