number pattern in c