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.

A190134 Numbers 1 through 10000 sorted lexicographically in hexadecimal representation (base 16).

This page as a plain text file.
%I A190134 #19 Feb 16 2025 08:33:14
%S A190134 1,16,256,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,
%T A190134 4108,4109,4110,4111,257,4112,4113,4114,4115,4116,4117,4118,4119,4120,
%U A190134 4121,4122,4123,4124,4125,4126,4127,258,4128,4129,4130,4131,4132,4133,4134
%N A190134 Numbers 1 through 10000 sorted lexicographically in hexadecimal representation (base 16).
%C A190134 A190135 = inverse permutation: a(A190135(n)) = A190135(a(n)) = n;
%C A190134 a(n) <> n for n > 1.
%H A190134 Reinhard Zumkeller, <a href="/A190134/b190134.txt">Table of n, a(n) for n = 1..10000</a> (full sequence)
%H A190134 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/LexicographicOrder.html">Lexicographic Order</a>.
%H A190134 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/Hexadecimal.html">Hexadecimal</a>.
%H A190134 Wikipedia, <a href="http://en.wikipedia.org/wiki/Lexicographical_order">Lexicographical order</a>.
%H A190134 Wikipedia, <a href="http://en.wikipedia.org/wiki/Hexadecimal">Hexadecimal</a>.
%e A190134 a(17) = 4109 -> 100D [hex];
%e A190134 a(18) = 4110 -> 100E [hex];
%e A190134 a(19) = 4111 -> 100F [hex];
%e A190134 a(20) =  257 -> 101  [hex];
%e A190134 a(21) = 4112 -> 1010 [hex];
%e A190134 a(22) = 4113 -> 1011 [hex];
%e A190134 largest term a(6301) = 10000 -> 2710 [hex];
%e A190134 last term a(10000) = 4095 -> FFF [hex], largest term lexicographically.
%o A190134 (Haskell)
%o A190134 import Data.Ord (comparing)
%o A190134 import Data.List (sortBy)
%o A190134 import Numeric (showHex)
%o A190134 a190134 n = a190134_list !! (n-1)
%o A190134 a190134_list = sortBy (comparing (flip showHex "")) [1..10000]
%Y A190134 Cf. A190126 (base 2), A190128 (base 3), A190130 (base 8), A190016 (base 10), A190132 (base 12).
%K A190134 nonn,base,fini,full
%O A190134 1,2
%A A190134 _Reinhard Zumkeller_, May 06 2011