Light random LEDs

Easiest is to make use of an array for the pin numbers. Then you can randomly pick one. The below demonstrates the basics.

// array with PWM pins
const byte pins[] = {10, 11, 5, 6};

void setup()
{
  Serial.begin(115200);
}

void loop()
{
  int rnd = random(0, sizeof(pins) / sizeof(pins[0]));
  Serial.print("Random pin "); Serial.println(pins[rnd]);
  delay(500);
}