int _tmain(int argc, _TCHAR* argv[])
{
int value = 2;
int n = 1;
printf("%d,", value);
for(int step = 0; step < 6; step++)
{
value += n;
n*=2;
if(step == 5)
printf("%d\r\n", value);
else
printf("%d,",value);
}
return 1
}