N is the number of days that pass by. Each day Sam gets 4 more, meaning you would multiply the number of days by 4, before adding that number to the original number of pennies, which was 16.
I do not exactly know what you were asking but I just answered the questions, if that is not what you were looking for tell me so I can try and edit my answer