Mathematical modeling of the Hindu calendar, Part 1