OFFSET
1,2
COMMENTS
See A377120 for a guide to related sequences.
EXAMPLE
prime(6) = 13 -> 19 -> 31 -> 55 = 5*11, so a(2) = 3.
MATHEMATICA
Table[p = Prime[n + 4]; c = 1; While[p = 2*p - 7; PrimeQ[p], c++]; c, {n, 200}
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 05 2024
STATUS
approved