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.
%I A037395 #17 Aug 05 2021 07:00:19 %S A037395 1,2,3,4,83,91,93,99,124,136,161,200,206,272,314,467,524,532,540,545, %T A037395 546,549,609,643,656,672,680,705,706,708,770,771,774,775,776,781,784, %U A037395 786,787,789,793,794,796,798,799,843,871,906 %N A037395 Numbers k such that every base-5 digit of k is a base-8 digit of k. %H A037395 Reinhard Zumkeller, <a href="/A037395/b037395.txt">Table of n, a(n) for n = 1..10000</a> %t A037395 Select[Range[1000],SubsetQ[IntegerDigits[#,8],IntegerDigits[#,5]]&] (* _Harvey P. Dale_, Oct 13 2015 *) %o A037395 (Haskell) %o A037395 import Data.List ((\\), nub) %o A037395 a037395 n = a037395_list !! (n-1) %o A037395 a037395_list = filter f [1..] where %o A037395 f x = null $ nub (ds 5 x) \\ nub (ds 8 x) %o A037395 ds b x = if x > 0 then d : ds b x' else [] where (x', d) = divMod x b %o A037395 -- _Reinhard Zumkeller_, May 30 2013 %Y A037395 Cf. A007091, A007094. %Y A037395 Cf. A037393, A037394, A037396, A037397. %K A037395 nonn,base %O A037395 1,2 %A A037395 _Clark Kimberling_