Is this a valid test for prime numbers?
$$ \prod_{k=2}^{\lceil \sqrt{n} \rceil} \sin(\pi n/k) \neq 0 \quad \text{if } n \text{ is prime} $$
It uses a product of sines to test whether a number is divisible by an integer, if it is the product is zero, if not the number must be prime.