What is the formula to generate this number sequence : 1 , 7 , 14, 30
I'm sure this is very simple for you guys. But it's got me alittle stuck. Thanks
To clarify, I'm not an advanced maths student. I'm used to e.g. n = (n/2)*1.3
etc.
What I'm looking for is something along the lines of the below:
1n = ###### = 1
2n = ###### = 7
3n = ###### = 14
etc.
The purpose of me asking this is, this sequence generation is required for a computer function.
E.g.
for (int i = 0; i < 4; i++)
{
int day = i*7;
Console.WriteLine(i);
}
Hopefully this will make it more clear the sort of equation I need.