OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..449
EXAMPLE
a(1) = 2 because the first prime >1 is 2 and 2 is > 1!
a(2) = 3 because the first prime >2 is 3 and 3 is > 2!
a(3) = 5*7 because first prime >3 is 5 and 5<3! but 5*7 >3!
a(7) = 46189 = 11*13*17*19 > 7!=5040 > 11*13*17= 2431.
MAPLE
f:= proc(n) local t, p, P;
t:= n!;
P:= 1; p:= n;
do
p:= nextprime(p);
P:= P*p;
if P > t then return P fi
od
end proc:
map(f, [$1..25]); # Robert Israel, Apr 14 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Mar 28 2004
EXTENSIONS
Corrected and extended by Mark Hudson (mrmarkhudson(AT)hotmail.com), Jul 23 2004
More terms from David Wasserman, Aug 21 2006
STATUS
approved