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.

A152219 Numbers k such that k! - 1 is divisible by a square greater than one.

Original entry on oeis.org

9, 15, 105, 112, 609, 4929
Offset: 1

Views

Author

Artur Jasinski, Nov 29 2008

Keywords

Comments

Primes p such that p^2 divides m!-1 for some integer m

Crossrefs

Cf. A064237.

Programs

  • Mathematica
    aa = {}; Do[If[(Sqrt[n! - 1] /. Sqrt[_] -> 1) > 1, Print[n]; AppendTo[aa, n]], {n, 1, 1000}]; aa
    (* alternate program *)
    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 *)

Extensions

a(6) from Artur Jasinski, Nov 30 2008
Definition clarified by Harvey P. Dale, May 24 2020