LED's doesn't light up with digital output

But if I run this code, LED's connected to pins 8,12 and 13 light up:

boolean on = true;
void setup() {
  for (int i = 2; 1 < 13; i++) {
    pinMode(i, OUTPUT);
  }
}


void loop() {
  if (on) {
    for (int i = 2; i < 13; i++) {
      digitalWrite(i, HIGH);
    }
  } 
  on != on;
  delay(250);
}