1
$\begingroup$

What is the meaning of the notation

$sign(k \mod 4)$

where $k$ is a positive integer? The notation can be found, for example in the paper "Minimum triangle-free graphs".

  • 2
    $k \mod 4$ is the remainder of $k$ divided by $4$. The $sign$ function is 1 for positive arguments, -1 for negative arguments, and 0 if the argument is 0. So, $sign(k\mod 4)$ will be 0 if $k$ is divisible by 4 and 1 otherwise.2011-11-25
  • 1
    This reminds me of [Iverson's bracket convention](http://en.wikipedia.org/wiki/Iverson_bracket)2011-11-25
  • 0
    @DavidMitra: please post that as an answer?2011-11-25

2 Answers 2