fast totient