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!)
A037403 Numbers k such that every base-7 digit of k is a base-9 digit of k. 4
1, 2, 3, 4, 5, 6, 31, 99, 106, 107, 195, 198, 248, 257, 284, 297, 321, 498, 514, 749, 750, 751, 758, 767, 785, 936, 939, 940, 943, 950, 968, 996, 1028, 1086, 1088, 1110, 1163, 1200, 1218, 1254, 1453, 1471, 1498, 1500, 1502, 1507 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(Haskell)
import Data.List ((\\), nub)
a037403 n = a037403_list !! (n-1)
a037403_list = filter f [1..] where
f x = null $ nub (ds 7 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: A037332 A091690 A024640 * A037439 A004846 A178579
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 March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)