OFFSET
1,2
COMMENTS
Here, "omega(k)" means the number of prime factors of k counted without multiplicity. - Harvey P. Dale, Sep 30 2015
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
EXAMPLE
omega(18) = 2 and 9 = 3^2 is the largest power of 3 dividing 18, hence 18 is in the sequence.
MATHEMATICA
Select[Range[1200], IntegerExponent[#, 3]==PrimeNu[#]&] (* Harvey P. Dale, Sep 30 2015 *)
PROG
(PARI) isok(k) = valuation(k, 3) == omega(k); \\ Amiram Eldar, Apr 26 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Sep 04 2002
STATUS
approved
