Re: Finding prime factors on a "non-programmable" calculator Message #5 Posted by Don Shepherd on 4 Sept 2011, 10:08 p.m., in response to message #1 by Don Shepherd
After posting the article, I had to make a change. I thought I could adjust variable TF (beginning trial factor) to the current factor and avoid going back to trial factor 3 each time, but I forgot that the Technical Applications manual states on page 25:
Quote:
Any attempt to alter the values of the (loop control variables) using the LET function causes the solver to create separate variables of the same name.
Therefore, the loop to find factors must always start at 3, the beginning value of the loop control value cannot be adjusted when a factor is found.
|