Equation 1 · Part 14 · How Claude Code's Memory Actually Persists Across Sessions
Ending index or upper bound: k
What this part means
This label says where the repeated addition, multiplication, or accumulation stops. It sets the last term or end of the range.
Its job in the formula
k appears in the bound of this sum. The bound states where the repeated operation starts, ends, or which values it includes.
Full expression→Ending index or upper bound: k→Article meaning
The passage around this formula
…and worth writing down as an identity: . where is the token count of the i -th memory file discovered along the walk from the filesystem root to the working directory, summed over however many, k , are found. Every term is committed before the developer types a word. The point is not the specific numbers; it is that is arithmetic settled at launch, and every additional CLAUDE.md file anyone commits to a repository is a term someone chose to add to it, permanently, for…
Learn the underlying idea
Σ adds a collection of terms. Π multiplies them. The lower and upper labels tell you which terms belong to the collection.
Open the illustrated sums and products: repeat an operation over an index guide →
See this notation across published equations →
Sources cited in the surrounding passage
These citations provide research context; check each source for the exact claim it supports.