You just have to concatenate this method after your number to find out if it is a prime or not. Now let’s do a first quick code for generating primes. In our quick example, we will iterate 100 times for getting 100 prime numbers. Start your terminal/console and enter with IRB your Rub...