How to get following loop output using pure functions such as NestList?
For[i = 0; v = 0, i < 4 && v < 4, i++; v++, Print[x^i + b^v]]
and the output is
2 b+x b^2+x^2 b^3+x^3
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.Sign up to join this community