Basic question about the right resistor

yea i'd need a microcontroller. Hmm sounds like i'll be using a few AAA's seeing as how it can't find a smaller solution