Prime Power

A prime power is a prime or integer power of a prime. A test for a number n being a prime power will be implemented in the Wolfram Language as PrimePowerQ[n].

The first few prime powers are 2, 3, 4, 5, 7, 8, 9, 11, 13, 16, 17, 19, 23, 25, ... (OEIS A000961). The first few prime powers with power >=2 are given by 4, 8, 9, 16, 25, 27, 32, 49, 64, 81, ... (OEIS A025475). The number of prime powers (exponents >=2) up to x is given by

 x^(1/2)+x^(1/3)+x^(1/4)+...=O(x^(1/2)lnx)

(Hardy 1999, p. 27).

The following table gives prime kth powers.

kOEISprime kth powers
1A0000402, 3, 5, 7, 11, 13, 17, 19, 23, ...
2A0012484, 9, 25, 49, 121, 169, 289, 361, ...
3A0300788, 27, 125, 343, 1331, 2197, 4913, ...
4A03051416, 81, 625, 2401, 14641, 28561, 83521, ...
5A05099732, 243, 3125, 16807, 161051, 371293, ...

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.