There is no set formula or magic to rank any keyword on the first page of the Search Engine Result Pages (SERPs). As per the latest guidelines by Google, Google will favor the websites having good quality content developed around relevant keywords. Google will not only look for the keywords to rank but also check for meaning of the content to match with the keywords. So placing a keyword as many times as possible within your content will hurt your rankings.
How do I get on page one of Google Search Result for a specific keyword?