MathOverflow will be down for maintenance for approximately 3 hours, starting Monday evening (06/24/2013) at approximately 9:00 PM Eastern time (UTC-4).
show/hide this revision's text 3 deleted 2 characters in body

Here is an answer that is similar in spirit to Frank and Peter's answers, but possibly simpler.

Summing by parts, we see that

$$ \sum_{p\le x} \frac{\log^k p}{p} = (\log x)^{k-1} \sum_{p\leq x} \frac{\log p}{p} -(k-1)\int_{2^-}^x (\log u)^{k-2}\sum_{p\le u} \frac{\log^k frac{\log p}{p} \frac{du}{u}.$$

Now use the formula $$ \sum_{p\leq x} \frac{\log p}{p} = \log x + c_1 + O(\exp(-c_2\sqrt{\log x}))$$ and it is not hard to derive that $$ \sum_{p\le x} \frac{\log^k p}{p} = \frac{\log^k x}{k} + c_3 + O(\exp(-c_4\sqrt{\log x})).$$

This seems easier than dealing with $Li(x)$.

    Post Undeleted by Micah Milinovich
show/hide this revision's text 2 deleted 124 characters in body; deleted 9 characters in body

Similar

Here is an answer that is similar in spirit to Frank and Peter's answers, here is how to get the leading order asymptotic without using the Prime Number Theorem (in the spirit of Mertens)but possibly simpler.

Summing by parts, we see that

$$ \sum_{p\le x} \frac{\log^k p}{p} = \int_{2^-}^x (\log u)^{k-1} d\left(\sum_{p\leq u} \frac{\log p}{p} \right).$$

An integration by parts yields

$$ \sum_{p\le x} \frac{\log^k p}{p} = (\log x)^{k-1} \sum_{p\leq x} \frac{\log p}{p} -(k-1)\int_{2^-}^x (\log u)^{k-2}\sum_{p\le u} \frac{\log^k p}{p} \frac{du}{u}.$$

Now use Mertens' the formula $$ \sum_{p\leq x} \frac{\log p}{p} = \log x + O(1)$$ c_1 + O(\exp(-c_2\sqrt{\log x}))$$ and it is not hard to derive that $$ \sum_{p\le x} \frac{\log^k p}{p} = \frac{\log^k x}{k} + O((\log x)^{k-1}).$$c_3 + O(\exp(-c_4\sqrt{\log x})).$$

This seems easier than dealing with $Li(x)$.

    Post Deleted by Micah Milinovich
show/hide this revision's text 1