Two engines of the same size can have different bores and strokes. They can also be tuned differently. While what you say is very often true, but it's not gospel.
Most inline-three cylinder engines employ a crank angle of 120 degrees, and are rotationally balanced. However, since the three cylinders are offset from each other, the firing of the end cylinders induces a rocking motion from end to end, since there is no opposing cylinder moving in the opposite direction as in a inline six that is inherently balanced. In other words, the cylinder firings induce a vibration.
The inline-four layout is the simplest design that is in perfect primary balance. However, it suffers from a secondary imbalance that causes minor vibrations in smaller engines.
Primary balance and secondary balance refer to vibrations at the first and second harmonic of the crank's rotational frequency, respectively. Higher order harmonics also exist, but as the orders increase, the magnitudes decrease, thus orders higher than the second are typically neglected.
So all this crap means that neither is the winner, and it all depends on what the manufacturer creates. My two John Deere tractors are both three cylinder engines. The little 455 has to idle around around 1600 rpm to be smooth. The bigger 790 does nicely at 800-1000 rpm.
Agreed. If you see two models with the same hp ratings, look for the torque specs. Chances are that the four cylinder will have more cubes and more torque. FYI - turbos tend to give you more power toward the top of the rpm band.