cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A037393 Numbers k such that every base-5 digit of k is a base-6 digit of k.

This page as a plain text file.
%I A037393 #15 Aug 05 2021 06:59:57
%S A037393 1,2,3,4,6,12,18,24,31,46,56,62,75,81,87,90,91,92,93,94,99,118,124,
%T A037393 145,150,157,226,232,243,245,291,300,306,307,308,311,312,314,322,326,
%U A037393 332,336,337,338,341,362,372,374,378,411,416,418
%N A037393 Numbers k such that every base-5 digit of k is a base-6 digit of k.
%H A037393 Reinhard Zumkeller, <a href="/A037393/b037393.txt">Table of n, a(n) for n = 1..10000</a>
%o A037393 (Haskell)
%o A037393 import Data.List ((\\), nub)
%o A037393 a037393 n = a037393_list !! (n-1)
%o A037393 a037393_list = filter f [1..] where
%o A037393    f x = null $ nub (ds 5 x) \\ nub (ds 6 x)
%o A037393    ds b x = if x > 0 then d : ds b x' else []  where (x', d) = divMod x b
%o A037393 -- _Reinhard Zumkeller_, May 30 2013
%Y A037393 Cf. A007091, A007092.
%Y A037393 Cf. A037394, A037395, A037396, A037397.
%K A037393 nonn,base
%O A037393 1,2
%A A037393 _Clark Kimberling_