\(\lfloor n^2/4 \rfloor\) edges, attained by the balanced complete bipartite graph. The floor matters at odd \(n\).
Value
As morie_turan_number(), with floor_n2_over_4.
Examples
morie_mantel_number(n = 5L)
#> $count
#> [1] 6
#>
#> $rounded_formula
#> [1] 6.25
#>
#> $formula_is_exact
#> [1] FALSE
#>
#> $part_sizes
#> [1] 3 2
#>
#> $construction_edges
#> [1] 6
#>
#> $attained
#> [1] TRUE
#>
#> $forbidden_clique
#> [1] 3
#>
#> $n
#> [1] 5
#>
#> $r
#> [1] 2
#>
#> $method
#> [1] "Mantel's theorem (Mantel 1907)"
#>
#> $floor_n2_over_4
#> [1] 6
#>
