Bhavishya Purana (Jyotisha Selections) · by Vyasa
Chapter 10 · Months, the Adhika Masa and Tithi Rules
मासाधिमासतिथिनिर्णयः
स्वभावात्समगत्या तु यतः संक्रमते रविः ।संचयमानात्वेकैका प्रतिमासं विवर्द्धते ॥ २८ ॥
In the full Bhavishya Purana this is Madhyama Parva part 2, chapter 6, verse 28.
By nature the Sun moves at an even pace as he enters each sign. So from the gathering, one tithi (moon day) is added each month.
Simple meaning: The Sun moves steadily, so one moon day gathers each month.
निशास्वपि तु सौरे ता एकस्मिंस्तिस्र इत्यपि ।
When a whole lunar month falls inside one solar month, a special rule applies.
स चान्द्रो मलिनो मासः कोणपाद्यैः समीहितः ।
A lunar month with no Sun sign change is called the dirty month.
यदा संक्रमते लंघ्य तदा ज्ञेयो मलिम्लुचः ।
A lunar month with no Sun sign entry is the extra month. It comes about every two and a half years.