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.

A332144 Nonnegative numbers ordered by number of digits, and then by sum of digits, and then by value.

This page as a plain text file.
%I A332144 #17 Nov 22 2020 04:28:13
%S A332144 0,1,2,3,4,5,6,7,8,9,10,11,20,12,21,30,13,22,31,40,14,23,32,41,50,15,
%T A332144 24,33,42,51,60,16,25,34,43,52,61,70,17,26,35,44,53,62,71,80,18,27,36,
%U A332144 45,54,63,72,81,90,19,28,37,46,55,64,73,82,91,29,38,47,56
%N A332144 Nonnegative numbers ordered by number of digits, and then by sum of digits, and then by value.
%C A332144 This sequence is a permutation of the nonnegative integers with inverse A332166.
%C A332144 This sequence can also be seen as an irregular triangle with first row consisting of a zero, and subsequent row lengths given by A289410.
%H A332144 Rémy Sigrist, <a href="/A332144/b332144.txt">Table of n, a(n) for n = 0..9999</a>
%H A332144 Rémy Sigrist, <a href="/A332144/a332144.gp.txt">PARI program for A332144</a>
%H A332144 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%F A332144 a(10^k - 1) = 10^k - 1 for any k >= 0.
%F A332144 a(10^k) = 10^k for any k >= 0.
%F A332144 a(10^k + 1) = 10^k + 1 for any k >= 0.
%e A332144 Triangle starts:
%e A332144     0;
%e A332144     1;
%e A332144     2;
%e A332144     3;
%e A332144     4;
%e A332144     5;
%e A332144     6;
%e A332144     7;
%e A332144     8;
%e A332144     9;
%e A332144     10;
%e A332144     11, 20;
%e A332144     12, 21, 30;
%e A332144     13, 22, 31, 40;
%e A332144     14, 23, 32, 41, 50;
%e A332144     15, 24, 33, 42, 51, 60;
%e A332144     16, 25, 34, 43, 52, 61, 70;
%e A332144     17, 26, 35, 44, 53, 62, 71, 80;
%e A332144     18, 27, 36, 45, 54, 63, 72, 81, 90;
%e A332144     19, 28, 37, 46, 55, 64, 73, 82, 91;
%e A332144     29, 38, 47, 56, 65, 74, 83, 92;
%e A332144     39, 48, 57, 66, 75, 84, 93;
%e A332144     49, 58, 67, 76, 85, 94;
%e A332144     59, 68, 77, 86, 95;
%e A332144     69, 78, 87, 96;
%e A332144     79, 88, 97;
%e A332144     89, 98;
%e A332144     99;
%e A332144     ...
%o A332144 (PARI) See Links section.
%Y A332144 Cf. A187769 (binary analog), A289410, A332166 (inverse).
%K A332144 nonn,base,tabf
%O A332144 0,3
%A A332144 _Rémy Sigrist_, Nov 20 2020