OFFSET
1,1
COMMENTS
a(28) > 42000. - Daniel Suteu, Oct 06 2018
FORMULA
EXAMPLE
7 is in the sequence because it is prime and also lcm(1,2,3,4,5,6,7)-1 = 420-1 = 419 is prime. - Emeric Deutsch, Jan 16 2009
MAPLE
P := proc(n) options operator, arrow: ilcm(seq(j, j = 1 .. n)) end proc: a := proc(n) if isprime(n) and isprime(P(n)-1) then n else end if end proc: seq(a(n), n = 1 .. 3000); # Emeric Deutsch, Jan 16 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Jan 11 2009
EXTENSIONS
a(8)-a(17) from Ray Chandler, Jan 16 2009
a(18)-a(22) from Emeric Deutsch, Jan 16 2009
a(23)-a(27) from Daniel Suteu, Oct 06 2018
STATUS
approved