Oct-16-2021, 08:26 PM
(This post was last modified: Oct-16-2021, 08:27 PM by Gribouillis.)
In your working example with
plot(n, f(n))
the function f() receives a whole array of integers, not a single integer.