I need to create an array of integers (doubles and floats are fine too but I don't think there is a difference) since I will need to do certain math actions with them such as * and +. I am trying to fill up the array with Random seeds (i.e. 1337 5443, I need to use these) but I can't convert a random variable into a int and I can't add or multiply random variables. So essentially I need to make an array of random numbers from specific seeds and I also need to be able to do math actions with each element of the list. Here is an example of what I have done so far:
import java.util.Random;
public class{
public static int a [] = new int [101];
public static void main(String[] Args){
for(int i = 0; i <= 100; i++){
Random ran1 = new Random(1337);
a [i] = ran1;//THIS IS THE PROBLEM (incompatible types)
}
int sum = a[5] + a[8] * a[10];//this won't acctually be included, it's just an example
}
}