A204040
Triangle T(n,k), read by rows, given by (0, 2, -2, 1, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (1, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.
Original entry on oeis.org
1, 0, 1, 0, 2, 1, 0, 0, 4, 1, 0, -4, 4, 6, 1, 0, -4, -8, 12, 8, 1, 0, 4, -24, -4, 24, 10, 1, 0, 12, -8, -60, 16, 40, 12, 1, 0, 4, 56, -84, -96, 60, 60, 14, 1, 0, -20, 88, 84, -272, -100, 136, 84, 16, 1, 0, -28, -40
Offset: 0
Triangle begins :
1
0, 1
0, 2, 1
0, 0, 4, 1
0, -4, 4, 6, 1
0, -4, -8, 12, 8, 1
0, 4, -24, -4, 24, 10, 1
0, 12, -8, -60, 16, 40, 12, 1
0, 4, 56, -84, -96, 60, 60, 14, 1
0, -20, 88, 84, -272, -100, 136, 84, 16, 1
A342797
Irregular triangle read by rows: T(n, k) is the k-th antidiagonal sum of the n X n matrices defined in A069480 and A078475.
Original entry on oeis.org
1, 1, 5, 4, 1, 5, 15, 15, 9, 1, 5, 15, 34, 36, 29, 16, 1, 5, 15, 34, 65, 70, 63, 47, 25, 1, 5, 15, 34, 65, 111, 120, 114, 96, 69, 36, 1, 5, 15, 34, 65, 111, 175, 189, 185, 166, 135, 95, 49, 1, 5, 15, 34, 65, 111, 175, 260, 280, 279, 260, 226, 180, 125, 64
Offset: 1
The triangle T(n, k) begins:
1
1 5 4
1 5 15 15 9
1 5 15 34 36 29 16
1 5 15 34 65 70 63 47 25
...
-
T[n_,k_]:=If[k<=n,(k+k^3)/2,(k^3+2n-6k^2n-4n^3+k(10n^2-1))/2]; Flatten[Table[T[n,k],{n,8},{k,2n-1}]]
A346179
Number of nonisomorphic vertex-transitive tournaments of order 2n-1.
Original entry on oeis.org
1, 1, 1, 2, 3, 4, 6, 16, 16, 30, 110, 94, 214, 694, 586, 1096, 3280, 5472, 7286, 25206, 26216, 49940, 196624, 182362, 407856, 907116
Offset: 1
If the automorphism group contains a full-length cycle, the tournament is circulant and is counted by
A049288.
A356480
a(n) is the minimal number of river crossings necessary to solve the missionaries and cannibals problem for n missionaries and n cannibals where the boat capacity is the minimum necessary to allow a solution.
Original entry on oeis.org
1, 5, 11, 9, 11, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 129, 131, 133, 135
Offset: 1
Suppose n = 3 and that all the people must cross from the left river side to the right. Let m and c denote the number of missionaries and the number of the cannibals on the left bank of the river at any time. Let b=L if the boat is on the left bank, b=R if the boat is on the right bank. Then (m, c, b) fully captures the condition of the system. A solution of minimal length is then given by (3, 3, L)-->(2, 2, R)-->(3, 2, L)-->(3, 0, R)-->(3, 1, L)-->(1, 1, R)-->(2, 2, L)-->(0, 2, R)-->(0, 3, L)-->(0, 1, R)-->(1, 1, L)-->(0, 0, R).
- P. Norvig and S. J. Russell, Artificial Intelligence: A Modern Approach, Third Edition, 2010. Exercise 3.9.
- R. Fraley, K. L. Cooke, and P. Detrick, Graphical Solution of Difficult Crossing Puzzles, Mathematics Magazine, Vol. 39 (3), pp. 151-157, (1966).
- Wikipedia, Missionaries and cannibals problem.
- Index entries for linear recurrences with constant coefficients, signature (2,-1).
A360373
Triangular array T read by rows related to the multiplication table.
Original entry on oeis.org
1, 2, 4, 2, 3, 6, 9, 6, 3, 4, 8, 12, 16, 12, 8, 4, 5, 10, 15, 20, 25, 20, 15, 10, 5, 6, 12, 18, 24, 30, 36, 30, 24, 18, 12, 6, 7, 14, 21, 28, 35, 42, 49, 42, 35, 28, 21, 14, 7, 8, 16, 24, 32, 40, 48, 56, 64, 56, 48, 40, 32, 24, 16, 8, 9, 18, 27, 36, 45, 54, 63, 72, 81
Offset: 1
Table T(n, k) , n>=1 , 1<=k<=2*n-1.
n = 1 : 1 ;
n = 2 : 2, 4, 2 ;
n = 3 : 3, 6, 9, 6, 3 ;
n = 4 : 4, 8, 12, 16, 12, 8, 4 ;
n = 5 : 5, 10, 15, 20, 25, 20, 15, 10, 5 ;
n = 6 : 6, 12, 18, 24, 30, 36, 30, 24, 18, 12, 6 ;
n = 7 : 7, 14, 21, 28, 35, 42, 49, 42, 35, 28, 21, 14, 7 ;
n = 8 : 8, 16, 24, 32, 40, 48, 56, 64, 56, 48, 40, 32, 24, 16, 8 ;
...
-
T:= (n, k)-> n*min(k, 2*n-k):
seq(seq(T(n,k), k=1..2*n-1), n=1..10); # Alois P. Heinz, Feb 04 2023
Comments