Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The way these recurrence relations are taught at university is to distinguish the new value from the old value by using a ' pronounced prime.

Here, you would write x' = x + 1 to give the recurrence relation x[n+1] = x[n] + 1. Or, more generally x' = f(x) for x[n+1] = f(x[n]). The reason for this is because in mathematics x = x + 1 is absurd (ignoring modulo arithmetic).



In highschool, we used numeric subscripts for that. Ticks(apostrophes) were kept for derivatives.


If only there were enough notation that every notation could be unique.


Though it's neither a tick nor apostroph, but as the parent said a prime: https://en.wikipedia.org/wiki/Prime_(symbol)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: