#include <stdio.h> int main( void ) { for( unsigned i=1, n=5; n<=150; ++i ) { n = (n-i)*2; printf( "No.%u week, friends number = %u\n", i, n ); } return 0; }