The r in their answer is not the r in the general term formula. I'm guessing they used a different pronumeral in the general term, like k.
Assuming it was k, instead of saying n=4k/3, you should be saying k=3n/4.
This has to be an integer, and that only happens when n is a multiple of 4, ie...