OFFSET
1,5
COMMENTS
Conjecture: a(n) > 0 for n > 4. - Sean A. Irvine, Nov 23 2021
EXAMPLE
a(6)=18 since 6th prime is 13 and 31-13=18. a(9)=1980 because 9th prime is 23 and the smallest prime in P(6) different from 23 is 2003; 2003-23=1980.
a(23)=(8*10^31+3)-83 because 8*10^31+3 is closest prime distinct from 83 but in P(83). - Sean A. Irvine, Nov 23 2021
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
N. J. A. Sloane, Mar 16 2000
EXTENSIONS
More terms from Asher Auel, May 12, 2000
a(23) corrected by Sean A. Irvine, Nov 23 2021
STATUS
approved