5
$\begingroup$

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?

  • 0
    @Ben Indeed, I have done just that and it does produce similar results. But, IMO, a prime sequence still produce something unique (i.e., there seems to be a pattern).2011-09-03

0 Answers 0