login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152219 Numbers n such that n! - 1 is divisible by a square greater than one. 1

%I #4 May 24 2020 11:13:08

%S 9,15,105,112,609

%N Numbers n such that n! - 1 is divisible by a square greater than one.

%C Primes p such that p^2 divides m!-1 for some integer m<p see A152220.

%C a(6)=4929 [From _Artur Jasinski_, Nov 30 2008]

%t aa = {}; Do[If[(Sqrt[n! - 1] /. Sqrt[_] -> 1) > 1, Print[n]; AppendTo[aa, n], {n, 1, 1000}]; aa (*Artur Jasinski*)

%t nfdsQ[n_]:=AnyTrue[Rest[Divisors[n!-1]],IntegerQ[Sqrt[#]]&]; Select[Range[ 2,610],nfdsQ] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, May 24 2020 *)

%Y A064237

%K nonn

%O 1,1

%A _Artur Jasinski_, Nov 29 2008

%E Definition clarified by _Harvey P. Dale_, May 24 2020

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 15:42 EDT 2024. Contains 372220 sequences. (Running on oeis4.)