def search_error_for_adams(adams_results: list, adams_results_less: list, m: int) -> list:
    """
    Function for calculating errors for Adams method
    :param adams_results: results from this method
    :param adams_results_less: results from this method with divided step
    :param m: value for the fault
    :return: list with errors
    """
    errors = []
    for index in range(len(adams_results)):
        error = (adams_results[index][1] - adams_results_less[index * 2][1]) / (2 ** m - 1)
        errors.append(error)
    return errors