How can I tell Wolfram Alpha that I only want it to evaluate my function for natural numbers?
For example $ 2n $, assuming n integer used to work, but not anymore. Is there a new syntax I can use?
Edit: Since this was marked as duplicate: The question popped up a couple years ago already, but the syntax seems to be a little different now. The answers given back then don't work anymore.
f[n_ /; n \[Element] Integers] := 2 n;– Steve Kass Jan 04 '18 at 16:532+2with my code here: https://lab.open.wolframcloud.com/objects/wpl/GetStarted.nb .) – Steve Kass Jan 05 '18 at 18:37