The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A037389 Every base 4 digit of k is a base 7 digit of k. 6
1, 2, 3, 9, 52, 84, 85, 86, 87, 105, 106, 170, 191, 255, 345, 352, 357, 358, 360, 361, 362, 366, 368, 369, 381, 394, 406, 409, 410, 415, 422, 444, 462, 479, 486, 492, 496, 497, 501, 503, 504, 505, 506, 507, 509, 510, 511, 553, 597 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[600], Complement[IntegerDigits[#, 4], IntegerDigits[#, 7]]=={}&] (* Harvey P. Dale, Jan 25 2024 *)
PROG
(Haskell)
import Data.List ((\\), nub)
a037389 n = a037389_list !! (n-1)
a037389_list = filter f [1..] where
f x = null $ nub (ds 4 x) \\ nub (ds 7 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: A162099 A307069 A255739 * A037425 A226967 A181273
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 June 1 15:05 EDT 2024. Contains 373025 sequences. (Running on oeis4.)