Dynamic Programming Primes Use dynamic programming to find the first X prime numbers. dynamic_primes(4) # > [2,3,5,7]