Vishnudharmottara Purana (Jyotisha Selections) · by Vyasa
Chapter 3 · Jupiter's Years: the Sixty Samvatsaras
बार्हस्पत्यसंवत्सराः
सप्तच्छिन्ने तु यः श्लेषः कलिपातसमागणे ।आदित्यादिस्स बोद्धव्यो ग्रहः संवत्सराधिपः ॥ ३६ ॥
In the full Vishnudharmottara Purana this is Khanda 1, chapter 82, verse 36.
Divide the Kali count by seven. Whatever remains, counted from the Sun, is to be known as the planet that lords the year.
Simple meaning: Divide the Kali years by seven. The remainder counted from the Sun gives the planet of the year.
आदित्येन सहानन्तो नागो भवति भूमिप ।
When the Sun lords the year, Ananta, Chitrangada and Dirghabhadra go with it.
सौम्येन वासुकिर्नागः पूर्णभद्रो निशाचरः ।
When the Moon lords the year, Vasuki, Purnabhadra and Chitrasena go with it.
भौमेन तक्षको नागो मणिभद्रो निशाचरः ।
When Mars lords the year, Takshaka, Manibhadra and Chitraratha go with it.