OFFSET
0,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..333 (all terms up to 5*10^6)
EXAMPLE
a(6) = 44 + (2 + 2 + 11) = ending prime 59. Between 44 and 59 there are 2 primes: 47 and 53.
MATHEMATICA
ckpgQ[n_]:=Module[{c=n+Total[Flatten[Table[#[[1]], {#[[2]]}]&/@ FactorInteger[ n]]]}, CompositeQ[n]&&PrimeQ[c]&&PrimePi[c]-PrimePi[n] == 3]; Select[Range[11000], ckpgQ] (* Harvey P. Dale, Nov 29 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Patrick De Geest, Sep 15 1999
STATUS
approved