Random rand = new Random();i = rand.nextInt(101);.........................but also your numbers are random.There are no difference between series...65,67,68......67,78,12....they are both random by the theory