Probably is safe, but don't see why an AV would flag a FP on a prime number counter Not really that fussed about counting numbers anyway lol
Alright, I get your concern. Now, you can always have Sandboxie at hand to run this or a lot more software when you don't feel confident.
Usually do have sandboxie installed, completely forgot about it after reinstalling 8.1, cheers for the reminder