login
A284293
Numbers using only digits 1 and 6.
7
1, 6, 11, 16, 61, 66, 111, 116, 161, 166, 611, 616, 661, 666, 1111, 1116, 1161, 1166, 1611, 1616, 1661, 1666, 6111, 6116, 6161, 6166, 6611, 6616, 6661, 6666, 11111, 11116, 11161, 11166, 11611, 11616, 11661, 11666, 16111, 16116, 16161, 16166, 16611, 16616
OFFSET
1,2
COMMENTS
Product of digits of n is a power of 6; subsequence of A276038.
Prime terms are in A020454.
MATHEMATICA
Join @@ (FromDigits /@ Tuples[{1, 6}, #] & /@ Range[5]) (* Giovanni Resta, Mar 25 2017 *)
PROG
(Magma) [n: n in [1..20000] | Set(IntegerToSequence(n, 10)) subset {1, 6}]
CROSSREFS
Cf. Numbers using only digits 1 and k for k = 0 and k = 2 - 9: A007088 (k = 0), A007931 (k = 2), A032917 (k = 3), A032822 (k = 4) , A276037 (k = 5), this sequence (k = 6), A276039 (k = 7), A213084 (k = 8), A284294 (k = 9).
Sequence in context: A024730 A024952 A278833 * A117800 A118847 A111256
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Mar 25 2017
STATUS
approved