def METHOD_NAME(nStates, stateIncrement):
    lastState = nStates - 1
    states = list(range(0, nStates, stateIncrement))
    if(states[-1] != lastState):
        states = states  + [lastState]
    return states