van=facebook.com/LearningCalculus$

      For how many numbers n in [1,2014] is
      f(n) an integer?

f(n):=8*n/(9999-n);

for n: 1 thru 2014 do
    if integerp(8*n/(9999-n)) then
    print("Answer ", n, 8*n/(9999-n))$

f(x);