High resistance voltage divider
A rather convoluted question, but I think what you need is an adjustable voltage source with a minimum output impedance of 5k.

In that case, why don't you design your voltage divider to give you the correct output voltage and then buffer it like so: