login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A140467
Numbers k such that the digits of k are not present in 3k.
1
1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 16, 18, 19, 21, 22, 23, 26, 27, 29, 32, 33, 34, 36, 37, 38, 39, 43, 44, 46, 54, 58, 59, 63, 64, 66, 67, 68, 69, 73, 74, 76, 77, 78, 81, 83, 84, 87, 88, 89, 91, 94, 96, 108, 109, 111, 112, 116, 118, 119, 121, 122, 126, 129, 136, 158, 159, 161
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
Sequence in context: A004436 A028237 A194463 * A103677 A087919 A113508
KEYWORD
nonn,base,easy
AUTHOR
Jonathan Vos Post, Jun 25 2008
EXTENSIONS
More terms from Emeric Deutsch, Jul 20 2008
STATUS
approved