How to create file to test primes automatically
I want to easily find primes of the form k*b^n+c. However, manually testing the variables takes a long time. I am using Pfgw. Can someone please help create a file so I can always find the nearest k, n, or c values. For example, I want to find a prime of the form 43*71^n +300, (for large primes) and I do not want to manually test exponents, so is there a format file that tests primes of the form k*b^n+c, so all I can do is just plug in the variables. Thanks for helping.
