in The Nineteenth Byte, 2 days ago, by Mr. Xcoder
CMC (slightly harder than a usual CMC): Given an integer, check whether the lengths of the runs of equal adjacent digits follow a pattern of this kind:
[a, b, a, b-1, a, b-2, ..., a, 1]
. Example: Truthy: 12212, 355545525, 66777700777887797, Falsy: 123456789, 122232222332