login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A092983 Least squarefree number > n!. 1

%I

%S 2,3,7,26,122,721,5042,40321,362881,3628801,39916801,479001602,

%T 6227020801,87178291201,1307674368001,20922789888001,355687428096001,

%U 6402373705728001,121645100408832001,2432902008176640001

%N Least squarefree number > n!.

%e a(5) = 122 as 121 is not squarefree.

%t lsf[n_]:=Module[{i=1},While[!SquareFreeQ[n+i],i++];n+i]; lsf/@(Range[20]!) (* _Harvey P. Dale_, Apr 06 2011 *)

%o (PARI) a(n)=for(i=n!+1,n!+n,if(issquarefree(i),return(i)))

%Y Cf. A092984.

%K nonn

%O 1,1

%A _Amarnath Murthy_, Mar 28 2004

%E Corrected and extended by Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 29 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 23 00:43 EDT 2019. Contains 325228 sequences. (Running on oeis4.)