Sometimes a clock is posted on Facebook and the likes where digits are substituted by mathematical expressions. A friend of mine asked me what is the smallest numbers of "nine" which let one express numbers from 1 to 12, using the four basic operations, square root, factorial, decimal point and the notation .(9) = 1. I managed to come up with a solution using 21 nines; is it possible to get 20?
EDIT: the notation .(9) means $.{\bar 9}$ (I forgot that puzzling allows MathJaX). For example, 11 may be expressed as 99/9, while 12 is $9 + \sqrt(9)$. So you must have twelve expressions, one for each number from 1 to 12, and using in total the least number of 9.