OFFSET
1,1
COMMENTS
A geometric-arithmetic progression of primes is a set of k primes (denoted by GAP-k) of the form p r^j + j d for fixed p, r and d and consecutive j. Symbolically, for r = 1, this sequence simplifies to the familiar primes in arithmetic progression (denoted by AP-k). The computations were done without any assumptions on the form of d. Primality requires d to be to be multiple of 3# = 6 and coprime to 7.
LINKS
Sameen Ahmed Khan, Table of n, a(n) for n = 1..5875
Sameen Ahmed Khan, Primes in Geometric-Arithmetic Progression, arXiv:1203.2083v1 [math.NT], (Mar 09 2012).
EXAMPLE
d = 13260 then {7*7^j + j*d}, j = 0 to 6, is {7, 13309, 26863, 42181, 69847, 183949, 903103}, which is 7 primes in geometric-arithmetic progression.
MATHEMATICA
p = 7; gapset7d = {}; Do[If[PrimeQ[{p, p*p + d, p*p^2 + 2*d, p*p^3 + 3*d, p*p^4 + 4*d, p*p^5 + 5*d, p*p^6 + 6*d}] == {True, True, True, True, True, True, True}, AppendTo[gapset7d, d]], {d, 0, 500000, 2}]; gapset7d
CROSSREFS
KEYWORD
nonn
AUTHOR
Sameen Ahmed Khan, Mar 06 2012
STATUS
approved