Discrete Mathematics, Mathematics, Combinatorics.
whether there’s 4 or 5 options on the last digit depended on what it was ending in. This means that 4 times previous even digits(must avoid the even next to it) + 5 times the previous odd. So, E n+1 = (En x 4) + (On x 5) Credits: miro + me ❤ CMU Discrete Math lectura numero uno