in- 0 1 2 3 4 X

out- 1 4 10

0's output is 1 and 1's output is 4, then 3's output is 10....wat is the rule to this???
and wat are the outputs for 2, and 4?

It's increasing like this add 1 add 3 add 5 you know 1 3 5 7 9 11 Odd numbers

so the out put for 2 would be 7
and the output for 4 would be 13