This paper discusses the HTM algorithms by examining a visual pattern recognition example. It covers spatial and temporal pooling, inference, and why hierarchy and time are important.