Here is a program to count in binary using LEDs on pins D11, D12 and D13:
```
int ledPins[] = {11, 12, 13};
void setup() {
for(int i=0; i<3; i++) {
pinMode(ledPins[i], OUTPUT);
}
}
void loop() {
for(int i=0; i<8; i++) {
for(int j=0; j<3; j++) {
digitalWrite(ledPins[j], bitRead(i,j));
}
delay(1000);
}
}
```
This program:
-