login
A176808
Triangle read by rows: T(n,m)=Floor[(n - 1)/m], 1<=m<=n.
1
0, 1, 0, 2, 1, 0, 3, 1, 1, 0, 4, 2, 1, 1, 0, 5, 2, 1, 1, 1, 0, 6, 3, 2, 1, 1, 1, 0, 7, 3, 2, 1, 1, 1, 1, 0, 8, 4, 2, 2, 1, 1, 1, 1, 0, 9, 4, 3, 2, 1, 1, 1, 1, 1, 0
OFFSET
1,4
COMMENTS
A010766 augmented by trailing zeros.
REFERENCES
F. S. Roberts, Applied Combinatorics, Prentice-Hall, 1984, p. 321.
EXAMPLE
0;
1, 0;
2, 1, 0;
3, 1, 1, 0;
4, 2, 1, 1, 0;
5, 2, 1, 1, 1, 0;
6, 3, 2, 1, 1, 1, 0;
7, 3, 2, 1, 1, 1, 1, 0;
8, 4, 2, 2, 1, 1, 1, 1, 0;
9, 4, 3, 2, 1, 1, 1, 1, 1, 0;
MAPLE
A176808 := proc(n, m)
floor((n-1)/m) ;
end proc: # R. J. Mathar, Feb 18 2016
MATHEMATICA
t[n_, m_] = Floor[(n - 1)/m];
Table[Table[t[n, m], {m, 1, n}], {n, 1, 10}];
Flatten[%]
CROSSREFS
Cf. A006218 (row sums), A174557.
Sequence in context: A285037 A264422 A376498 * A327029 A167192 A335435
KEYWORD
nonn,tabl,easy
AUTHOR
Roger L. Bagula, Apr 26 2010
STATUS
approved