OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MAPLE
with(numtheory): a:=proc(n) local p, B, j: p:=ithprime(n): B:={}: for j from p+1 to p+20 do if abs(mobius(j))>0 then B:=B union {j} else B:=B fi od: B[1] end: A:=[seq(a(m), m=1..400)]: b:=proc(k) if isprime(A[k])=true then A[k] else fi end: seq(b(i), i=1..400); # Emeric Deutsch, Oct 14 2005
MATHEMATICA
With[{k = 120}, Select[Table[SelectFirst[Range[Prime@ n + 1, Prime@ n + k], SquareFreeQ], {n, 300}], PrimeQ]] (* Michael De Vlieger, Sep 11 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Oct 06 2005
EXTENSIONS
More terms from Emeric Deutsch, Oct 14 2005
STATUS
approved