i know that there's a maximum number of keywords you can declare in code
<meta NAME="keywords" CONTENT="keyword1, keyword2, keyword3">
the rest, there are
SEO secrets on how keywords should appear in your content. Once in the main paragraph, twice in second... and i don't know the rest.