login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A037391 Numbers k such that every base-4 digit of k is a base-9 digit of k. 6
1, 2, 3, 81, 84, 85, 93, 101, 102, 105, 106, 110, 162, 168, 170, 174, 190, 191, 243, 244, 252, 253, 254, 255, 325, 341, 650, 750, 758, 768, 837, 885, 894, 918, 919, 921, 922, 923, 925, 926, 939, 957, 972, 973, 974, 975, 976, 977 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(Haskell)
import Data.List ((\\), nub)
a037391 n = a037391_list !! (n-1)
a037391_list = filter f [1..] where
f x = null $ nub (ds 4 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
Sequence in context: A370993 A371228 A068185 * A037427 A042549 A365291
KEYWORD
nonn,base
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)