Concept of dynamic memory in economics