login
A032826
Numbers whose set of base-14 digits is {1,4}.
1
1, 4, 15, 18, 57, 60, 211, 214, 253, 256, 799, 802, 841, 844, 2955, 2958, 2997, 3000, 3543, 3546, 3585, 3588, 11187, 11190, 11229, 11232, 11775, 11778, 11817, 11820, 41371, 41374, 41413, 41416, 41959, 41962, 42001, 42004
OFFSET
1,2
MATHEMATICA
Flatten[Table[FromDigits[#, 14]&/@Tuples[{1, 4}, n], {n, 6}]] (* Vincenzo Librandi, May 26 2012 *)
PROG
(Magma) [n: n in [1..280000] | Set(IntegerToSequence(n, 14)) subset {1, 4}]; // Vincenzo Librandi, May 26 2012
CROSSREFS
Sequence in context: A240265 A051956 A308983 * A190709 A166732 A022133
KEYWORD
nonn,base,easy
STATUS
approved