way I would do it would be using a 555 and a fequency divider to go the leds. run the 555 fast enough so that the leds appear to remain lit, and when you disconect the 555 1 led will remain lit.
However I think you are asking if for one that would be i the shape of a dice and light 4 leds to represent the number 4 for this a pic would probably be the easiest way to go.