def METHOD_NAME(x0, base, nmin, nmax, maxValue):
    result = []
    for n in list(range(int(nmin), int(nmax))) + [nmax]:
        x = x0 * base ** n
        result.append(x)
    return rescale(result, maxValue)