OFFSET
1,1
COMMENTS
1 and products of distinct numbers of the form P^(3^k), k>=0, are not in the sequence.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Let A(x) be counting function of terms not exceeding x. Then for x tends to infinity, A(x)=C*x+o(x^(0.5+eps), where C=1-Prod{i=p^(3^k)with prime p and k>=0}(1-1/(i^2+i+1)).
MATHEMATICA
Select[Range[200], AnyTrue[FactorInteger[#][[;; , 2]], DigitCount[#1, 3, 2] > 0 &] &] (* Amiram Eldar, Aug 31 2020 *)
PROG
(Sage) is_A005836 = lambda n: 2 not in n.digits(base=3)
is_A177880 = lambda n: not all(is_A005836(Integer(m)) for p, m in factor(n)) # D. S. McNeil, Dec 16 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Dec 15 2010
EXTENSIONS
Extended by D. S. McNeil, Dec 16 2010
STATUS
approved