A213500
Rectangular array T(n,k): (row n) = b**c, where b(h) = h, c(h) = h + n - 1, n >= 1, h >= 1, and ** = convolution.
Original entry on oeis.org
1, 4, 2, 10, 7, 3, 20, 16, 10, 4, 35, 30, 22, 13, 5, 56, 50, 40, 28, 16, 6, 84, 77, 65, 50, 34, 19, 7, 120, 112, 98, 80, 60, 40, 22, 8, 165, 156, 140, 119, 95, 70, 46, 25, 9, 220, 210, 192, 168, 140, 110, 80, 52, 28, 10, 286, 275, 255, 228, 196, 161, 125, 90
Offset: 1
Northwest corner (the array is read by southwest falling antidiagonals):
1, 4, 10, 20, 35, 56, 84, ...
2, 7, 16, 30, 50, 77, 112, ...
3, 10, 22, 40, 65, 98, 140, ...
4, 13, 28, 50, 80, 119, 168, ...
5, 16, 34, 60, 95, 140, 196, ...
6, 19, 40, 70, 110, 161, 224, ...
T(6,1) = (1)**(6) = 6;
T(6,2) = (1,2)**(6,7) = 1*7+2*6 = 19;
T(6,3) = (1,2,3)**(6,7,8) = 1*8+2*7+3*6 = 40.
-
b[n_] := n; c[n_] := n
t[n_, k_] := Sum[b[k - i] c[n + i], {i, 0, k - 1}]
TableForm[Table[t[n, k], {n, 1, 10}, {k, 1, 10}]]
Flatten[Table[t[n - k + 1, k], {n, 12}, {k, n, 1, -1}]]
r[n_] := Table[t[n, k], {k, 1, 60}] (* A213500 *)
-
t(n,k) = sum(i=0, k - 1, (k - i) * (n + i));
tabl(nn) = {for(n=1, nn, for(k=1, n, print1(t(k,n - k + 1),", ");); print(););};
tabl(12) \\ Indranil Ghosh, Mar 26 2017
-
def t(n, k): return sum((k - i) * (n + i) for i in range(k))
for n in range(1, 13):
print([t(k, n - k + 1) for k in range(1, n + 1)]) # Indranil Ghosh, Mar 26 2017
A047838
a(n) = floor(n^2/2) - 1.
Original entry on oeis.org
1, 3, 7, 11, 17, 23, 31, 39, 49, 59, 71, 83, 97, 111, 127, 143, 161, 179, 199, 219, 241, 263, 287, 311, 337, 363, 391, 419, 449, 479, 511, 543, 577, 611, 647, 683, 721, 759, 799, 839, 881, 923, 967, 1011, 1057, 1103, 1151, 1199, 1249, 1299, 1351, 1403
Offset: 2
x^2 + 3*x^3 + 7*x^4 + 11*x^5 + 17*x^6 + 23*x^7 + 31*x^8 + 39*x^9 + 49*x^10 + ...
- Reinhard Zumkeller, Table of n, a(n) for n = 2..10000
- Laurent Bulteau, Samuele Giraudo and Stéphane Vialette, Disorders and permutations , 32nd Annual Symposium on Combinatorial Pattern Matching (CPM 2021). Article No. 18; pp. 18:1-18:14.
- Graham Cormode, Notes on the organization number of a permutation.
- Eric Weisstein's World of Mathematics, Longest Path Problem.
- Eric Weisstein's World of Mathematics, White Bishop Graph.
- Index entries for linear recurrences with constant coefficients, signature (2,0,-2,1).
-
[Floor(n^2/2)-1 : n in [2..100]]; // Wesley Ivan Hurt, Aug 06 2015
-
seq(floor((n^2+4*n+2)/2), n=0..20) # Gary Detlefs, Feb 10 2010
-
Table[Floor[n^2/2] - 1, {n, 2, 60}] (* Robert G. Wilson v, Aug 31 2006 *)
LinearRecurrence[{2, 0, -2, 1}, {1, 3, 7, 11}, 60] (* Harvey P. Dale, Jan 16 2015 *)
Floor[Range[2, 20]^2/2] - 1 (* Eric W. Weisstein, Mar 27 2018 *)
Table[((-1)^n + 2 n^2 - 5)/4, {n, 2, 20}] (* Eric W. Weisstein, Mar 27 2018 *)
CoefficientList[Series[(-1 - x - x^2 + x^3)/((-1 + x)^3 (1 + x)), {x, 0, 20}], x] (* Eric W. Weisstein, Mar 27 2018 *)
-
a(n) = n^2\2 - 1
A213783
Rectangular array: (row n) = b**c, where b(h) = 1+[h/2], c(h) = [(n+h)/2], n>=1, h>=1, [ ] = floor, and ** = convolution.
Original entry on oeis.org
1, 3, 1, 6, 4, 2, 11, 8, 6, 2, 17, 14, 11, 7, 3, 26, 22, 19, 13, 9, 3, 36, 32, 28, 22, 16, 10, 4, 50, 45, 41, 33, 27, 18, 12, 4, 65, 60, 55, 47, 39, 30, 21, 13, 5, 85, 79, 74, 64, 56, 44, 35, 23, 15, 5, 106, 100, 94, 84, 74, 62, 50, 38, 26, 16, 6, 133, 126, 120, 108
Offset: 1
Northwest corner (the array is read by falling antidiagonals):
1...3....6....11...17...26...36....50
1...4....8....14...22...32...45....60
2...6....11...19...28...41...55....74
2...7....13...22...33...47...64....84
3...9....16...27...39...56...74....98
3...10...18...30...44...62...83....108
4...12...21...35...50...71...93....122
4...13...23...38...55...77...102...132
-
b[n_] := Floor[(n + 2)/2]; c[n_] := Floor[(n + 1)/2];
t[n_, k_] := Sum[b[k - i] c[n + i], {i, 0, k - 1}]
TableForm[Table[t[n, k], {n, 1, 10}, {k, 1, 10}]]
Flatten[Table[t[n - k + 1, k], {n, 12}, {k, n, 1, -1}]]
r[n_] := Table[t[n, k], {k, 1, 60}] (* A213783 *)
Table[t[n, n], {n, 1, 40}] (* A213759 *)
s[n_] := Sum[t[i, n + 1 - i], {i, 1, n}]
Table[s[n], {n, 1, 50}] (* A213760 *)
Showing 1-3 of 3 results.
Comments