besides that this forum has search function and this question has been answered tons of times i will do the honors to the "i am too lazy to look around" and give you answer
it is 999/(difficulty^2)
Thanks that answers my latter question.
What about the first question? Was not able to find anything on the matter.