OFFSET
1,1
COMMENTS
See A377120 for a guide to related sequences.
EXAMPLE
prime(5) = 11 -> 17 -> 29 -> 53 -> 101 -> 197 -> 389 -> 773 -> 1541 = 23*67,
so a(1) = 8.
MATHEMATICA
Table[p = Prime[n + 4]; c = 1; While[p = 2*p - 5; PrimeQ[p], c++]; c, {n, 200}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Nov 05 2024
STATUS
approved