Powerful Integers by Bruteforce Algorithm using C++ May 7, 2019 algorithms, brute force, c / c++, math No Comments Given two positive integers x and y, an integer is powerful if it is equal to x^i + y^j for some integers i >= 0 and j >= 0. … [Continue Reading...]