login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037401 Every base 6 digit of n is a base 10 digit of n. 5
1, 2, 3, 4, 5, 35, 123, 154, 215, 331, 512, 521, 1014, 1024, 1045, 1054, 1085, 1135, 1145, 1151, 1295, 1302, 1303, 1305, 1350, 1440, 1450, 1504, 1506, 1507, 1520, 1530, 1540, 1555, 1559, 1562, 1579, 1583, 1592, 1639, 1653 (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)

a037401 n = a037401_list !! (n-1)

a037401_list = filter f [1..] where

   f x = null $ nub (ds 6 x) \\ nub (ds 10 x)

   ds b x = if x > 0 then d : ds b x' else []  where (x', d) = divMod x b

-- Reinhard Zumkeller, May 30 2013

(Haskell)

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

a037401 n = a037401_list !! (n-1)

a037401_list = filter f [1..] where

   f x = null $ nub (ds 6 x) \\ nub (ds 10 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, A037400.

Cf. A037398, A037399, A037400.

Sequence in context: A024636 A004845 A124128 * A062509 A061537 A274029

Adjacent sequences:  A037398 A037399 A037400 * A037402 A037403 A037404

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 27 06:52 EDT 2017. Contains 285508 sequences.