

A345018


For each n, append to the sequence n^2 consecutive integers, starting from n.


1



1, 2, 3, 4, 5, 3, 4, 5, 6, 7, 8, 9, 10, 11, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,2


COMMENTS

Irregular triangle read by rows T(n,k) in which row n lists the integers from n to n + n^2  1, with n >= 1.


LINKS



FORMULA

T(n,k) = n + k  1, with n >= 1 and 1 <= k <= n^2.


EXAMPLE

Written as an irregular triangle T(n,k) the sequence begins:
n\k 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ...
+
1  1;
2  2, 3, 4, 5;
3  3, 4, 5, 6, 7, 8, 9, 10, 11;
4  4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19;
...


MATHEMATICA

Table[Range[n, n^2+n1], {n, 6}] (* Paolo Xausa, Sep 05 2023 *)


PROG

(PARI) row(n) = vector(n^2, k, n+k1); \\ Michel Marcus, Jun 08 2021


CROSSREFS



KEYWORD

nonn,tabf


AUTHOR



STATUS

approved



