About the logic of the prime number distribution