@johnwasser I did have a bit of a sense of accomplishment on realizing that it could be done with 11 LEDS
Those years of algebra and calculus finally paid off!
Thanks so much for the code solution... After hours of trying to figure this out on paper, I am really grateful.