OFFSET
1,2
COMMENTS
Subsequence of A386799 and first differs from it at n = 58: A386799(58) = 64 = 2^6 is not a term in this sequence.
First differs from A336592 at n = 58: A336592(58) = 64 = 2^6 is not a term in this sequence. Also, a(115) = 128 = 2^7 is the least term that is not a term in A336592.
A182120 and A366762 are subsequences. Each term in this sequence has a unique representation as the product of two coprime numbers, one in A182120 and the other in A366762.
The asymptotic density of this sequence is Product_{p prime} (1 - 1/(p*(1+p+p^2))) = 0.95692470821076622881... .
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Sum_{n>=1} 1/a(n)^s = zeta(3*s) * Product_{p prime} (1 + 1/p^s + 1/p^(2*s) - 1/p^(3*s)) for s > 1.
MATHEMATICA
q[n_] := AllTrue[FactorInteger[n][[;; , 2]], ! Divisible[#, 3] &]; Select[Range[100], q]
PROG
(PARI) isok(k) = vecsum(apply(x -> if(x % 3, 0, 1), factor(k)[, 2])) == 0;
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Nov 05 2025
STATUS
approved
