I am trying to regulate 18V from rectifier, I would like the output to be as close to 18V as possible, so can I use a larger than necessary R2. In this case if I use 150 ohms for R1 and 2.2K for R2 the formula yields an output of 19.5V, I know I will get somewhere around 16V but will LM350 regulate as expected due to the larger R2.

Thanks