login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037400 Numbers n such that every base 6 digit of n is a base 9 digit of n. 4
1, 2, 3, 4, 5, 21, 104, 108, 115, 129, 194, 212, 215, 252, 259, 271, 280, 352, 370, 388, 417, 504, 651, 756, 757, 758, 759, 760, 761, 762, 763, 777, 913, 922, 928, 932, 949, 976, 994, 1008, 1015, 1030, 1076, 1137, 1147, 1151, 1152 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

PROG

(Haskell)

import Data.List ((\\), nub)

a037400 n = a037400_list !! (n-1)

a037400_list = filter f [1..] where

   f x = null $ nub (ds 6 x) \\ nub (ds 9 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

Cf. A037398, A037399, A037401.

Sequence in context: A217679 A248901 A280849 * A080695 A239448 A248713

Adjacent sequences:  A037397 A037398 A037399 * A037401 A037402 A037403

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 19 09:06 EDT 2020. Contains 337178 sequences. (Running on oeis4.)