Question: I am trying to integrate a version/source control system with my unity project. [This answer](http://answers.unity3d.com/answers/1251608/view.html) directed me towards using source/version control. (I dont know the difference.) 

The answer links to a tutorial which explains creating the repository and pushing it to a remote service. I followed the whole tutorial. But I still don't understand how this integrates with my current projects.

My question is that.

1. how can I do this locally
2. how will this make it possible to revert to previously-saved versions?

Answer: 
its very simple, since i<=($n+2) the total iterations will be 4.
for first iteration, 

```
$i=1 the value of s = 0+(2*1+5) = 7
$i=2 now s = 7+(2*2+5) = 16
$i=3 now s = 16+(2*3+5) = 27
$i=4 now s = 27+(2*4+5) = 40

```

Hope this explains.
N=2;
A=5;
X=3;
S=0;

```
for
  I=1 => S (0) = 0 + (2*1+5) = 7

  I=2 => S (7) = 7 + (2*2+5) = 16

  I=3 => S (16) =  16 + (2*3+5) = 27

  I=4 => S (27) = 27 (2*4+5) = 40

```