osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]# Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1. DATA 31, 71, 73, 137, 211, 311, 419, 421, 647, 877, 1117, 1487, 1979, 2447, 3079, 3547, 4027, 7307, 7309, 12211, 14243, 18911, 18913, 23557, 25439, 28729, 36683, 37831, 46853, 50411, 53129, 55457, 57367, 60251, 67339, 70489, 74797, 89669, 98909, 98911 EXAMPLE 7*5 - 3 - 1 = 31 11*7 - 5 - 1 = 71 11*7 - 5 + 1 = 73 13*11 - 7 + 1 = 137 Can someone put this in a Python program and post?

- Prev by Date:
**Creating Win .exe file from *.py on Linux** - Next by Date:
**So apparently I've been banned from this list** - Previous by thread:
**Creating Win .exe file from *.py on Linux** - Next by thread:
**Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.** - Index(es):