OFFSET
1,3
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..11743 (full sequence)
EXAMPLE
4146 in base 7 is 15042. Since no two digits of the base 7 representation are the same, 4146 is in the sequence.
4147 in base 7 is 15043. Since no two digits of the base 7 representation are the same, 4147 is in the sequence.
4148 in base 7 is 15044. Since the digit 4 appears twice in the base 7 representation, 4148 is not in the sequence.
MATHEMATICA
Select[Range[0, 97], Max[DigitCount[#, 7]] == 1 &] (* Alonso del Arte, Feb 09 2019 *)
PROG
(PARI) isok(n) = my(d=digits(n, 7)); #d == #Set(d); \\ Michel Marcus, Feb 09 2019
CROSSREFS
KEYWORD
nonn,base,fini,full,easy
AUTHOR
STATUS
approved