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.

A102067 Numbers k such that k does not divide P(k)! even though P(k)^2 is not a factor of k, where P(k) is the largest prime factor of k.

Original entry on oeis.org

12, 24, 45, 48, 80, 90, 96, 135, 160, 175, 180, 189, 192, 224, 240, 270, 320, 350, 360, 378, 384, 405, 448, 480, 525, 539, 540, 567, 637, 640, 672, 700, 720, 756, 768, 810, 875, 896, 945, 960, 1050, 1078, 1080, 1120, 1134, 1215, 1274, 1280, 1344, 1375, 1400, 1440
Offset: 1

Views

Author

Jonathan Sondow, Dec 28 2004

Keywords

Comments

Clearly, if P(k)^2 is a factor of k, then k does not divide P(k)!. Each member shows that the converse is false.
k is a member if and only if k is in A057109 but not in A070003.

Examples

			12 does not divide P(12)! = 3! and 3^2 is not a factor of 12.
		

Crossrefs

Programs

  • Mathematica
    q[n_] := Module[{p = FactorInteger[n][[-1, 1]]}, !Divisible[n, p^2] && !Divisible[p!, n]]; Select[Range[1500], q] (* Amiram Eldar, Mar 30 2021 *)
  • PARI
    isok(n) = {my(f = factor(n)); my(P = f[#f~,1]); (P! % n) && (n % P^2);} \\ Michel Marcus, Sep 16 2015

Extensions

More terms from Michel Marcus, Sep 16 2015