Number of substrings divisible by 8 but not 3


This is a companion discussion topic for the original entry at http://iq.opengenus.org/number-of-substrings-divisible-by-8-but-not-3/