int x = n / 3; // <-- make this faster
// for instance
int a = n * 3; // <-- normal integer multiplication
int b = (n << 1) + n; // <-- potentially faster multiplication
question from:https://stackoverflow.com/questions/171301/whats-the-fastest-way-to-divide-an-integer-by-3