login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A263730
Irregular triangle read by rows in which row n > 1 lists k such that (k^2 + k*n)/(k + 1) is an integer.
5
0, 0, 1, 0, 2, 0, 1, 3, 0, 4, 0, 1, 2, 5, 0, 6, 0, 1, 3, 7, 0, 2, 8, 0, 1, 4, 9, 0, 10, 0, 1, 2, 3, 5, 11, 0, 12, 0, 1, 6, 13, 0, 2, 4, 14, 0, 1, 3, 7, 15, 0, 16, 0, 1, 2, 5, 8, 17, 0, 18, 0, 1, 3, 4, 9, 19, 0, 2, 6, 20, 0, 1, 10, 21, 0, 22, 0, 1, 2, 3, 5, 7, 11, 23, 0, 4, 24, 0, 1, 12, 25
OFFSET
2,5
COMMENTS
Minimal value of k is 0 and maximal value of k is n - 2 for n-th row.
Length of rows gives A000005.
Sum of rows gives A065608.
LINKS
FORMULA
a(n) = A027750(n) - 1.
EXAMPLE
n\k| 0 1 2 3 4 5 6 7 8 9 10
---+------------------------------------------
0 | 0
1 | 0 1 2 3 4 5 6 7 8 9 10
2 | 0
3 | 0 1
4 | 0 2
5 | 0 1 3
6 | 0 4
7 | 0 1 2 5
8 | 0 6
9 | 0 1 3 7
10 | 0 2 8
11 | 0 1 4 9
12 | 0 10
13 | 0 1 2 3 5 11
MATHEMATICA
Table[Select[Range[0, n-2], Divisible[#^2+n #, #+1]&], {n, 30}]//Flatten (* Harvey P. Dale, Dec 27 2016 *)
PROG
(PARI) tabf(nn) = {for (n=2, nn, for (k=0, n, if (!((k^2 + k*n) % (k+1)), print1(k, ", ")); ); print(); ); } \\ Michel Marcus, Oct 25 2015
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
STATUS
approved