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.

A376158 Numbers k having two prime divisors p < q such that p! <= k <= q!.

Original entry on oeis.org

6, 10, 14, 15, 20, 21, 22, 26, 28, 30, 33, 34, 38, 39, 40, 42, 44, 45, 46, 50, 51, 52, 56, 57, 58, 60, 62, 63, 66, 68, 69, 70, 74, 75, 76, 78, 80, 82, 84, 86, 87, 88, 90, 92, 93, 94, 98, 99, 100, 102, 104, 105, 106, 110, 111, 112, 114, 116, 117, 118, 120, 122, 123, 124, 126, 129, 130, 132, 134, 136, 138, 140, 141, 142, 145
Offset: 1

Views

Author

Mike Jones, Sep 12 2024

Keywords

Comments

Different from A330136.

Examples

			40 is in the list because 40 has at least 2 distinct prime divisors, and the smallest prime divisor of 40 is 2 and the largest prime divisor of 40 is 5, and 2! <= 40 <= 5! because 2! = 2 and 5! = 120.
		

Crossrefs

Programs

  • Maple
    q:= n-> (s-> nops(s)>1 and min(s)!<=n and n<=max(s)!)(numtheory[factorset](n)):
    select(q, [$2..150])[];  # Alois P. Heinz, Sep 20 2024
  • Mathematica
    q[k_] := Module[{p = FactorInteger[k][[;; , 1]]}, Length[p] > 1 && k >= p[[1]]! && k <= p[[-1]]!]; Select[Range[125], q] (* Amiram Eldar, Sep 20 2024 *)