Bruno, you can also conveniently change the length of the list of elements you want to test through with Manipulate function. Simply replace the second argument in the ListPlot function with a dynamic variable “k” and wrap it with the Manipulate function (k is from 5 to 100 with step lenght = 1):