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 A319723 #16 Aug 07 2024 10:33:48 %S A319723 0,1,2,3,4,5,6,7,13,19,25,31,12,13,14,20,26,32,18,19,20,21,27,33,24, %T A319723 25,26,27,28,34,30,31,32,33,34,35,36,42,78,114,150,186,42,43,79,115, %U A319723 151,187,78,79,85,121,157,193,114,115,121,127,163,199,150,151,157,163 %N A319723 Write n in 6-ary, sort digits into decreasing order. %H A319723 Seiichi Manyama, <a href="/A319723/b319723.txt">Table of n, a(n) for n = 0..7775</a> %F A319723 n <= a(n) < 6n. - _Charles R Greathouse IV_, Aug 07 2024 %t A319723 Table[FromDigits[ReverseSort[IntegerDigits[n, 6]], 6], {n, 0, 100}] (* _Paolo Xausa_, Aug 07 2024 *) %o A319723 (Ruby) %o A319723 def A(k, n) %o A319723 (0..n).map{|i| i.to_s(k).split('').sort.reverse.join.to_i(k)} %o A319723 end %o A319723 p A(6, 100) %o A319723 (PARI) a(n) = fromdigits(vecsort(digits(n, 6), , 4), 6); \\ _Michel Marcus_, Sep 26 2018 %Y A319723 b-ary: A073138 (b=2), A319651 (b=3), A319720 (b=4), A319722 (b=5), this sequence (b=6), A319724 (b=7), A319725 (b=8), A319726 (b=9), A004186 (b=10). %Y A319723 Cf. A165051, A319654. %K A319723 nonn,base,easy %O A319723 0,3 %A A319723 _Seiichi Manyama_, Sep 26 2018