OFFSET
1,1
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
EXAMPLE
Let P(n) = A002110(n).
36 = 6^2 = P(2)^2 is a product of primorials and not in the sequence.
72 = 2 * 6^2 = P(1) * P(2)^2 is a product of primorials and not in the sequence.
a(1) = 100 = 2^2 * 5^2 is not a product of primorials.
a(2) = 108 = 2^2 * 3^3 is not a product of primorials, etc.
MATHEMATICA
With[{nn = 3200}, Select[
Select[
Rest@ Union@ Flatten@ Table[a^2*b^3, {b, nn^(1/3)}, {a, Sqrt[nn/b^3]}],
Not@*PrimePowerQ],
Nand[EvenQ[#1], Union@ Differences@ PrimePi[#2[[All, 1]]] == {1},
AllTrue[Differences@ #2[[All, -1]], # <= 0 &]] & @@
{#, FactorInteger[#]} &] ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Jan 28 2024
STATUS
approved
