I was having fun with Sage when I noticed something interesting:
primes = [p for p in range(500) if p in Primes()] primes_rev = [p for p in reversed(primes)] sum = map(operator.add, primes, primes_rev) mul = map(operator.mul, primes, primes_rev) sub = map(operator.sub, primes, primes_rev) div = map(operator.div, primes, primes_rev)
We create a list of prime numbers,
primes. We reverse the list,
primes_rev. We create new lists from applying math operations to each element of both lists,
Then we plot the new lists.
Does this say anything about prime numbers?