OFFSET
1,1
COMMENTS
Number of terms < 10^k: 4, 13, 41, 177, 1119, 6963, 48647, 359109, 2766164, ..., . - Robert G. Wilson v, Dec 11 2017
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
Composite[n_Integer] := FixedPoint[n + PrimePi@# +1 &, n + PrimePi@n +1]; fQ[n_] := PrimeQ[Prime@n - Composite@n]; Prime@ Select[ Range@250, fQ] (* Robert G. Wilson v, Dec 11 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 10 2001
STATUS
approved