A Beale number is a positive integer that can be expressed as the sum of a positive integer, a square, and a cube. More formally, a number \( n \) is a Beale number if there exist positive integers \( x \), \( y \), and \( z \) such that: \[ n = x + y^2 + z^3 \] Beale numbers are named after the American mathematician and cryptographer John Beale.
New to topics? Read the docs here!