Timeline for How to implement recursive function
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:19 | history | edited | CommunityBot | replaced http://math.stackexchange.com/ with https://math.stackexchange.com/ | |
| Nov 9, 2016 at 12:24 | history | edited | corey979 | CC BY-SA 3.0 | added 3 characters in body |
| Sep 13, 2016 at 13:17 | history | edited | corey979 | CC BY-SA 3.0 | added 39 characters in body |
| Sep 13, 2016 at 13:07 | history | edited | corey979 | CC BY-SA 3.0 | added 88 characters in body |
| Sep 13, 2016 at 12:51 | history | edited | corey979 | CC BY-SA 3.0 | added 228 characters in body |
| Sep 12, 2016 at 16:18 | comment | added | Bobson Dugnutt | I'm trying to animate f(n) for different starting values, but I don't know how to include multiple lines as the expr in Animate[]: Animate[{ m = 1000; f[1] = k; f[n_] := f[n] = Count[Table[f[k - 1], {k, 2, n - 1}], f[n - 1]] Table[f[n], {n, 1, m}]; ListPlot[Table[f[n], {n, 1, m}]]}, {k, 1, 10}] is what I am trying to do. Do you have any suggestions? Thanks. | |
| Sep 12, 2016 at 12:13 | history | edited | corey979 | CC BY-SA 3.0 | added 259 characters in body |
| Sep 12, 2016 at 12:01 | history | edited | corey979 | CC BY-SA 3.0 | deleted 15 characters in body |
| Sep 12, 2016 at 12:01 | comment | added | corey979 | Huh; it appears that indeed after the correction f[2] doesn't have to be defined. | |
| Sep 12, 2016 at 12:00 | vote | accept | Bobson Dugnutt | ||
| Sep 12, 2016 at 12:00 | comment | added | Bobson Dugnutt | I don't think the second line is necessary. | |
| Sep 12, 2016 at 11:59 | history | answered | corey979 | CC BY-SA 3.0 |