Also how do you restrict the domain to be integers in wolfram alpha?
closed as off topic by Noah Snyder, Thomas, TMM, rschwieb, EuYu Nov 13 '12 at 14:53
Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.
No its not (and you probably can't).
In my experience, for any input longer than some 10-20 characters, wolfram alpha more or less gives up and just freely interprets a fraction of your input.
(Mathematica is a fine tool though, but the suitable methods are highly dependent on the problem at hand.)