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 even and coprime to 3.
LINKS
Sameen Ahmed Khan, Table of n, a(n) for n = 1..10000
Sameen Ahmed Khan, Primes in Geometric-Arithmetic Progression, arXiv:1203.2083v1 [math.NT], (Mar 09 2012).
EXAMPLE
d = 8 then {3*3^j + j*d}, j = 0 to 2, is {3, 17, 43}, which is 3 primes in geometric-arithmetic progression.
MATHEMATICA
p = 3; gapset3d = {}; Do[If[PrimeQ[{p, p*p + d, p*p^2 + 2*d}] == {True, True, True}, AppendTo[gapset3d, d]], {d, 0, 1000, 2}]; gapset3d
CROSSREFS
KEYWORD
nonn
AUTHOR
Sameen Ahmed Khan, Mar 06 2012
STATUS
approved