OFFSET
1,2
LINKS
EXAMPLE
The factorial base representation (A007623) of 1 is "1", the least nonzero digit missing from that is 2, thus 1 is included in this sequence.
Likewise for 2, whose f.b.r. is "10", and also for 42 whose f.b.r. is "1300", the least nonzero digit missing from them is 2, thus also 2 and 42 are included in this sequence.
MATHEMATICA
q[n_] := Module[{k = n, m = 2, r, s = {}}, While[{k, r} = QuotientRemainder[k, m]; k != 0|| r != 0, AppendTo[s, r]; m++]; MemberQ[s, 1] && !MemberQ[s, 2]]; Select[Range[200], q] (* Amiram Eldar, Feb 14 2024 *)
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 27 2015
STATUS
approved