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 A220694 #16 Apr 01 2025 08:58:01 %S A220694 1,1,2,1,2,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,4,1,2,3,4,1,2,3, %T A220694 4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1, %U A220694 2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4 %N A220694 Irregular table: row n (n>=1) consists of numbers 1..A084556(n). %C A220694 The term a(n) tells from which position (one-based, starting from the left hand end of permutation) of the corresponding permutation in A030298 the term A030298(n) should be picked from. Use this (instead of A220663) with programming languages like Maple, which use one-based indexing of arrays and vectors. %H A220694 A. Karttunen, <a href="/A220694/b220694.txt">Rows 1..998 of the irregular table, flattened.</a> %F A220694 a(n) = A220663(n)+1. %e A220694 Rows of this irregular table begin as: %e A220694 1; %e A220694 1, 2; %e A220694 1, 2; %e A220694 1, 2, 3; %e A220694 1, 2, 3; %e A220694 ... %t A220694 Flatten[Table[Table[Range[n],n!],{n,4}]] (* _Harvey P. Dale_, Aug 25 2022 *) %o A220694 (Scheme) (define (A220694 n) (+ 1 (A220663 n))) %Y A220694 Cf. A220663, A084556, A030298. %K A220694 nonn,tabf %O A220694 1,3 %A A220694 _Antti Karttunen_, Dec 18 2012