An I6 is the least cylinder engine with both primary and secondary balance.
Even better, a V12 is even more refined if you want an extremely smooth running engine. It is essentially a twin I6, but it is loading the crankshaft at twice as many times per revolution.