Program to find Primes of the form prime(n+2) * prime(n+1) - prime(n) +- 1.

Musatov tomusatov at gmail.com
Tue Oct 2 16:23:07 EDT 2018


 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?


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /