|
|
A193331
|
|
Triangle read by rows: T(n,k) = floor((k-1)*n^2/(2*k)) is an upper bound on the number of edges in the (n-k)-Turán graph.
|
|
2
|
|
|
0, 0, 1, 0, 2, 3, 0, 4, 5, 6, 0, 6, 8, 9, 10, 0, 9, 12, 13, 14, 15, 0, 12, 16, 18, 19, 20, 21, 0, 16, 21, 24, 25, 26, 27, 28, 0, 20, 27, 30, 32, 33, 34, 35, 36, 0, 25, 33, 37, 40, 41, 42, 43, 44, 45, 0, 30, 40, 45, 48, 50, 51, 52, 53, 54, 55, 0, 36, 48, 54, 57, 60, 61, 63, 64, 64, 65, 66
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,5
|
|
COMMENTS
|
This is the bound derived from Turán's theorem; it is tight when n is divisible by k.
The exact number of edges is given by A198787(n,k). The difference between the two is at most k/8; in particular, A198787 and this sequence agree for all k<8. When n=12 and k=8, A198787 gives 62 and this sequence gives 63. (End)
|
|
LINKS
|
|
|
FORMULA
|
T(n,k) = floor((k-1)*n^2/(2*k)).
|
|
EXAMPLE
|
The triangle T(n,k) begins:
0;
0, 1;
0, 2, 3;
0, 4, 5, 6;
0, 6, 8, 9, 10;
0, 9, 12, 13, 14, 15;
...
|
|
MATHEMATICA
|
Flatten[Table[Floor[(k - 1) n^2/(2k)], {n, 20}, {k, n}]]
|
|
PROG
|
(Haskell)
a193331 n k = a193331_tabl !! (n-1) !! (k-1)
a193331_tabl = map a193331_row [1..]
a193331_row n = zipWith div (map (* n^2) [0..n-1]) (map (2 *) [1..n])
|
|
CROSSREFS
|
Cf. A198787 (the number of edges in the (n,k)-Turán graph).
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|