OFFSET
1,1
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..10000
MATHEMATICA
sk[n_]:=Module[{k=n+1, p=Prime[n]}, While[!Divisible[Prime[k]-p, n], k++]; k]; Array[sk, 70] (* Harvey P. Dale, Feb 16 2020 *)
PROG
(PARI) for(n=1, 100, s=1; while((prime(n+s)-prime(n))%n>0, s++); print1(n+s, ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 09 2002
STATUS
approved