In the pursuit of understanding the enigmatic world of prime numbers,a unique formula has been identified, which can be used to generate primenumbers, with the exception of 2 and 3. This formula is expressed as (n =positive integer, p = prime number), where, intriguingly, the output forother positive integers results in irrational numbers. This enigmatic formulanot only reveals prime numbers but also unveils a peculiar patternrelated to composite numbers derived from prime factors. These compositenumbers, which arise as exceptions in the context of prime generation,exhibit regularity and may offer new insights into the interconnected ofprime and composite numbers. This discovery promises to broaden ourunderstanding of the intricate world of...