A166373
Triangle read by rows for floor(j^2 / n) with n >= 2 and 1<=j
0, 0, 1, 0, 1, 2, 0, 0, 1, 3, 0, 0, 1, 2, 4, 0, 0, 1, 2, 3, 5, 0, 0, 1, 2, 3, 4, 6, 0, 0, 1, 1, 2, 4, 5, 7, 0, 0, 0, 1, 2, 3, 4, 6, 8, 0, 0, 0, 1, 2, 3, 4, 5, 7, 9, 0, 0, 0, 1, 2, 3, 4, 5, 6, 8, 10, 0, 0, 0, 1, 1, 2, 3, 4, 6, 7, 9, 11, 0, 0, 0, 1, 1, 2, 3, 4, 5, 7, 8, 10, 12, 0, 0, 0, 1, 1, 2, 3, 4, 5, 6, 8, 9
Offset: 2
Examples
Part of the triangle from which the sequence is constructed is shown below. .....j..1..2..3..4..5..6..7..8..9.10.11.12.13.14 ...n ...2....0 ...3....0..1 ...4....0..1..2 ...5....0..0..1..3 ...6....0..0..1..2..4 ...7....0..0..1..2..3..5 ...8....0..0..1..2..3..4..6 ...9....0..0..1..1..2..4..5..7 ..10....0..0..0..1..2..3..4..6..8 ..11....0..0..0..1..2..3..4..5..7..9 ..12....0..0..0..1..2..3..4..5..6..8.10 ..13....0..0..0..1..1..2..3..4..6..7..9.11 ..14....0..0..0..1..1..2..3..4..5..7..8.10.12 ..15....0..0..0..1..1..2..3..4..5..6..8..9.11.13
Programs
-
PARI
T(n,j)=j^2\n \\ Charles R Greathouse IV, Jan 16 2012