What does this say about prime numbers?

875 Views Asked by At

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, sum, mul, sub, div. Then we plot the new lists.

list_plot(sum)

enter image description here

list_plot(mul)

enter image description here

list_plot(sub)

enter image description here

list_plot(div)

enter image description here

Does this say anything about prime numbers?