Calcul des next_seq_nb OK