The penance is obligatory for violating the fast by intercourse, for each day of Ramadan, even if more than one intercourse takes place in one day.
The penance is related to the number of days because fasting each day is an independent worship.