If you are in any way mathematically inclined, think LCM. This same problem comes up in an earlier lesson in a slightly different form, but it is the same problem, just the same.

```
function quarter(n){
return n / 4;
}
if (quarter(12) % 3 === 0) {
return true;
} else {
return false;
}
```

or some such thing. The exercise insisted upon a true result so we were forced to come up with a number that was both divisible by 3 and by 4. Easy answer, 3 times 4. 12. The LCM of 3 and 4.

Any number, 0, 12, 24, ... n * 3 * 4, will satisfy a true condition.

This suggests that we can apply an LCM approach to our FizzBuzz problem that will simplify the program.

```
if ( i % 15 === 0) {
console.log('FizzBuzz')
} ...
```

Compound conditional gone. Make this first in line and everything works as expected.