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.

A367268 Numbers k that are not squarefree, not prime powers, and not products of primorials.

Original entry on oeis.org

18, 20, 28, 40, 44, 45, 50, 52, 54, 56, 63, 68, 75, 76, 80, 84, 88, 90, 92, 98, 99, 100, 104, 108, 112, 116, 117, 124, 126, 132, 135, 136, 140, 147, 148, 150, 152, 153, 156, 160, 162, 164, 168, 171, 172, 175, 176, 184, 188, 189, 196, 198, 200, 204, 207, 208, 212
Offset: 1

Views

Author

Michael De Vlieger, Jan 28 2024

Keywords

Comments

Proper subset of A369361.
Superset of A368089.

Examples

			Let P(n) = A002110(n).
12 = 6 * 2 = P(2) * P(1) is not in this sequence.
a(1) = 18 = 6 * 3 is not a product of primorials.
a(2) = 20 = 2 * 2 * 5 is not a product of primorials, etc.
		

Crossrefs

Programs

  • Mathematica
    Select[Select[Range[5000], Nor[SquareFreeQ[#], PrimePowerQ[#]] &], Nand[EvenQ[#1], Union@ Differences@ PrimePi[#2[[All, 1]]] == {1}, AllTrue[Differences@ #2[[All, -1]], # <= 0 &]] & @@ {#, FactorInteger[#]} &]

Formula

{a(n)} = A126706 \ A025487.