![Find a pattern in a sequence of digits](https://blogs.sas.com/content/iml/files/2017/01/ProgrammingTips-2.png)
I recently needed to solve a fun programming problem. I challenge other SAS programmers to solve it, too! The problem is easy to state: Given a long sequence of digits, can you write a program to count how many times a particular subsequence occurs? For example, if I give you