Liste des Groupes | Revenir à s math |
On 5/2/2024 10:06 AM, Moebius wrote:Yeah, we might even write thas as code in some loop where n is incremented...Am 30.04.2024 um 14:56 schrieb WM:Fwiw, here how I generally write my recursive functions. Say the natural numbers, including zero here:
>The end is smaller than ω.>
The sequence of natural numbers (all of which are smaller than ω) does not have an end, Du Depp!
>
r[0] = 0
r[n + 1] = r[n] + 1
Lets expand that for a couple of iterations:... programmer's notation ...
r[0] = 0
r[1] = r[0] + 1 = 1
r[2] = r[1] + 1 = 2
r[3] = r[2] + 1 = 3
...
[n] where n is an index
vs:... math notation (where r is to be considered a[n infinite] "sequence") ...
r_0 = 0
r_(n+1) = r_n + 1
Both seem okay to me, as in I can understand both of them.Both are ok in there typical contexts, I'd say.
Les messages affichés proviennent d'usenet.