In this work, we show that the prime numbers follow a multiscale distribution. Indeed they can be classified thanks to tree structures, which are expressed in terms of two maximal subsets of N and using multilayer selection rules, acting on these sets of prime candidates. Consequently, the prime numbers follow a specific deterministic rules. Indeed, a numeric accelerator for generating primes can be realized in terms of the above mentioned specific rules. From the comparison with the Fibonacci numbers a beautiful harmony comes in terms of the Golden Mean which is relevant to high energy physics and E-Infinity theory too.