As stated before, the datasheet doesn't clearly specify trim resistor calculation. My conclusion that +5% trimming is achieved with 0.41k rather than 41k series resistor is substantiated by plausibility considerations not an exact datasheet specification. It could be verified by additional manufacturer info or empirically, not by additional guesses.
A series resistor of maximal 0.41k shouldn't pick up much noise (I guess that"s what you mean with "ripple"), but you may bypass the resistor with a parallel capacitor.