Perfect Power Checker

n = aᵇ?

CalculatorsFreeNo Signup
4.7(384 reviews)
All Tools

Loading tool...

About Perfect Power Checker

A perfect power checker testing if n = aᵇ for some integers a≥1, b≥2. Finds all base-exponent pairs, identifies perfect squares/cubes/higher powers. Shows the minimal base and maximal exponent. All calculations are client-side.

Perfect Power Checker Features

  • Power check
  • All representations
  • Min base
  • Max exponent
  • Range scan
Perfect power: n = aᵇ (a≥1, b≥2). Examples: 8=2³, 64=2⁶=4³=8², 729=3⁶=9³=27². Perfect squares (b=2): 1,4,9,16,25... Perfect cubes (b=3): 1,8,27,64,125... A number can be a perfect power in multiple ways.

How to Use

Enter n:

  • Check: Is n a perfect power?
  • Representations: All (a,b) pairs
  • Type: Square, cube, etc.

Properties

  • Perfect powers have density 0 in the integers
  • Goldbach conjecture variant: every n>4 is sum of ≤3 perfect powers
  • Catalan's conjecture (proved): only consecutive perfect powers are 8,9

Algorithm

For each exponent b=2,3,...,⌊log₂n⌋: compute a=n^(1/b) rounded, check if aᵇ=n. If n=p₁^e₁·...·pₖ^eₖ, then n is a perfect bth power iff b|eᵢ for all i.

Step-by-Step Instructions

  1. 1Enter n.
  2. 2Check perfect power.
  3. 3View all representations.
  4. 4See minimal base.
  5. 5Scan range.

Perfect Power Checker — Frequently Asked Questions

What are the only consecutive perfect powers?+

8 and 9 (2³ and 3²). This is Catalan's conjecture, proved by Preda Mihăilescu in 2002. It states that xᵖ−yᵠ=1 has only the solution 3²−2³=1 in integers with p,q≥2.

How many perfect powers are there below N?+

Approximately N^(1/2) + N^(1/3) − N^(1/6) + ... by inclusion-exclusion. The density is 0: perfect powers become increasingly rare. Below 1000: 38 perfect powers (31 squares + 10 cubes − 3 sixth powers).

Is 1 a perfect power?+

Yes, 1 = 1ᵇ for every b≥2. It's the only number that is a perfect bth power for all b. Some definitions exclude 1, but mathematically 1ᵇ=1 is valid for all exponents.

Share this tool: