cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A092983 Least squarefree number > n!.

This page as a plain text file.
%I A092983 #5 Dec 05 2013 19:56:46
%S A092983 2,3,7,26,122,721,5042,40321,362881,3628801,39916801,479001602,
%T A092983 6227020801,87178291201,1307674368001,20922789888001,355687428096001,
%U A092983 6402373705728001,121645100408832001,2432902008176640001
%N A092983 Least squarefree number > n!.
%e A092983 a(5) = 122 as 121 is not squarefree.
%t A092983 lsf[n_]:=Module[{i=1},While[!SquareFreeQ[n+i],i++];n+i]; lsf/@(Range[20]!)  (* _Harvey P. Dale_, Apr 06 2011 *)
%o A092983 (PARI) a(n)=for(i=n!+1,n!+n,if(issquarefree(i),return(i)))
%Y A092983 Cf. A092984.
%K A092983 nonn
%O A092983 1,1
%A A092983 _Amarnath Murthy_, Mar 28 2004
%E A092983 Corrected and extended by Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 29 2004