OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MAPLE
q:= n-> (f-> is({}=f(3) minus f(4)))({k-> convert(n, base, k)[]}):
select(q, [$1..200])[]; # Alois P. Heinz, Jun 20 2021
MATHEMATICA
Select[Range[200], SubsetQ[IntegerDigits[#, 4], IntegerDigits[#, 3]]&] (* Harvey P. Dale, Jan 19 2016 *)
PROG
(Haskell)
import Data.List ((\\), nub)
a037380 n = a037380_list !! (n-1)
a037380_list = filter f [1..] where
f x = null $ nub (ds 3 x) \\ nub (ds 4 x)
ds b x = if x > 0 then d : ds b x' else [] where (x', d) = divMod x b
-- Reinhard Zumkeller, May 30 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved