OFFSET
1,2
COMMENTS
Primes not in a(n): {2, 5, 13, 23, 43, 59, 79, 97, 113, 157, 173, 211, 239, 257, 281, 331, 373, 389, 433, 461, 479, 523, 569, 607, 659, ...} - Michael De Vlieger, Oct 02 2017
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..1000
EXAMPLE
1,5,7,11,13,17,19,23,25,...is the sequence of positive integers which are coprime to 4! = 24. 11 is the 4th such integer, so a(4) = 11.
MAPLE
A119992 := proc(n)
local i, j ;
j := 0 ;
i := 1 ;
while true do
if gcd(i, n!) = 1 then
j := j+1 ;
if j = n then
return i ;
break ;
fi ;
fi ;
i := i+1 ;
od ;
end:
seq(A119992(n), n=1..100) ; # R. J. Mathar, Dec 22 2013
MATHEMATICA
With[{nn = 57}, Table[Select[{1}~Join~Prime@ Range[2 nn], CoprimeQ[n!, #] &][[n]], {n, nn}]] (* Michael De Vlieger, Oct 02 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 03 2006
EXTENSIONS
More terms from R. J. Mathar, Aug 06 2006
STATUS
approved
