On Tuesday, October 2, 2018 at 5:54:30 PM UTC-5, Gary Herron wrote: > On 10/02/2018 01:23 PM, tomusa...@gmail.com wrote: > > 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? > > > No, sorry, but that's not how this works. We're not here to do your > homework for you, and you won't learn anything if we do. You make an > attempt at solving this, asking any specific Python related questions > you need help with, and you'll find this to be prompt, friendly, and > helpful group. > > > Gary Herron > > > -- > Dr. Gary Herron > Professor of Computer Science > DigiPen Institute of Technology > (425) 895-4418
Thank you, Gary. I checked out your program at DigiPen, looks neat. -- https://mail.python.org/mailman/listinfo/python-list