OFFSET
1,2
COMMENTS
First differs from its subsequences A252895 and A366242 at n = 43: a(43) = 64 is neither a term in A252895 nor a term in A366242.
The squarefree numbers (A005117) and the 4-full numbers (A036967) are all terms in this sequence. Each term in this sequence has a unique representation as the product of two coprime numbers, one is squarefree and the other is 4-full.
The asymptotic density of this sequence is Product_{p prime} (1 - 1/p^2 + 1/p^4) = 0.66922021803510257394... .
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Sum_{n>=1} 1/a(n)^s = zeta(s) * Product_{p prime} (1 - 1/p^(2*s) + 1/p^(4*s)).
MATHEMATICA
q[n_] := AllTrue[FactorInteger[n][[;; , 2]], !MemberQ[{2, 3}, #] &]; Select[Range[100], q]
PROG
(PARI) isok(k) = vecsum(apply(x -> if(x == 2 || x == 3, 1, 0), factor(k)[, 2])) == 0;
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 05 2025
STATUS
approved
