OFFSET
1,2
EXAMPLE
169 is in the sequence because the sets {1,6,9} and {5,0,7} are disjoint.
MAPLE
a:=proc(n) local nd, n3d: nd:=convert(convert(n, base, 10), set): n3d:=convert(convert(3*n, base, 10), set): if `intersect`(nd, n3d)={} then n else end if end proc: seq(a(n), n=1..170); # Emeric Deutsch, Jul 20 2008
MATHEMATICA
Select[Range[200], Intersection[IntegerDigits[#], IntegerDigits[3*#]]=={}&] (* Harvey P. Dale, Aug 13 2018 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post, Jun 25 2008
EXTENSIONS
More terms from Emeric Deutsch, Jul 20 2008
STATUS
approved