OFFSET
1,2
LINKS
David A. Corneth, Table of n, a(n) for n = 1..11690 (Terms <= 10^6)
EXAMPLE
946 is in the sequence because 9*4*6 = 216 = 6^3.
MATHEMATICA
Select[Range[20000], IntegerQ[Log[6, Times@@(IntegerDigits[#])]] &]
PROG
(PARI) is(n) = my(d = vecsort(digits(n)), p = prod(i = 1, #d, d[i])); d[1] >= 1 && 6^logint(p, 6) == p \\ David A. Corneth, Jun 23 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Aug 19 2016
STATUS
approved