

A048151


Triangular array T read by rows: T(n,k)=k mod n, for k=1,2,...,n, n=1,2,...


1



0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,5


LINKS



FORMULA



EXAMPLE

Triangle begins:
0;
1, 0;
1, 2, 0;
1, 2, 3, 0;
1, 2, 3, 4, 0;
...


MATHEMATICA

Flatten[Table[Mod[k, n], {n, 15}, {k, n}]] (* Harvey P. Dale, Mar 21 2012 *)


CROSSREFS

As a sequence, essentially same as A002262.


KEYWORD



AUTHOR



STATUS

approved



