Identify cube numbers (#825)