login
A032935
Numbers whose set of base-15 digits is {1,2}.
1
1, 2, 16, 17, 31, 32, 241, 242, 256, 257, 466, 467, 481, 482, 3616, 3617, 3631, 3632, 3841, 3842, 3856, 3857, 6991, 6992, 7006, 7007, 7216, 7217, 7231, 7232, 54241, 54242, 54256, 54257, 54466, 54467, 54481, 54482, 57616, 57617
OFFSET
1,2
LINKS
MATHEMATICA
Flatten[Table[FromDigits[#, 15]&/@Tuples[{1, 2}, n], {n, 5}]](* Vincenzo Librandi, Jun 04 2012 *)
PROG
(Magma) [n: n in [1..60000] | Set(IntegerToSequence(n, 15)) subset {1, 2}]; // Vincenzo Librandi, Jun 04 2012
CROSSREFS
Sequence in context: A247634 A261617 A075376 * A004831 A342030 A368404
KEYWORD
nonn,base
STATUS
approved