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.

A319653 Write n in 5-ary, sort digits into increasing order.

This page as a plain text file.
%I A319653 #22 Feb 29 2024 16:02:05
%S A319653 0,1,2,3,4,1,6,7,8,9,2,7,12,13,14,3,8,13,18,19,4,9,14,19,24,1,6,7,8,9,
%T A319653 6,31,32,33,34,7,32,37,38,39,8,33,38,43,44,9,34,39,44,49,2,7,12,13,14,
%U A319653 7,32,37,38,39,12,37,62,63,64,13,38,63,68,69,14,39,64,69,74,3
%N A319653 Write n in 5-ary, sort digits into increasing order.
%H A319653 Seiichi Manyama, <a href="/A319653/b319653.txt">Table of n, a(n) for n = 0..3124</a>
%t A319653 Table[FromDigits[Sort[IntegerDigits[n,5]],5],{n,0,100}] (* _Harvey P. Dale_, Feb 29 2024 *)
%o A319653 (Ruby)
%o A319653 def A(k, n)
%o A319653   (0..n).map{|i| i.to_s(k).split('').sort.join.to_i(k)}
%o A319653 end
%o A319653 p A(5, 100)
%o A319653 (PARI) a(n) = fromdigits(vecsort(digits(n, 5)), 5); \\ _Michel Marcus_, Sep 25 2018
%Y A319653 b-ary: A038573 (b=2), A038574 (b=3), A319652 (b=4), this sequence (b=5), A319654 (b=6), A319655 (b=7), A319656 (b=8), A319657 (b=9), A004185 (b=10).
%Y A319653 Cf. A165032, A319722.
%K A319653 nonn,base,look
%O A319653 0,3
%A A319653 _Seiichi Manyama_, Sep 25 2018