Hi, I need some help understanding a formula I found on a website to convert the Western calendar to the Chinese one. I'm looking for anyone who can explain it to me in simple terms with clear examples. Any help at all would be much appreciated.(adsbygoogle = window.adsbygoogle || []).push({});

The relevant section from the website is pasted below but I have also included the link for more information.

Thanks in advance,

Belinda

--

For converting Western years into Chinese, for any positive integers x and y, let rem(x,y) denote the remainder on dividing x by y (i.e., rem(x,y) = x mod y). Then given a Western year n, the Chinese year (e,a,k) may be determined as follows: Let i*=*rem(n+6,10) if n is even, rem(n+6,10) - 1 otherwise. Then e = ½*i. (Note that rem(n+6,10) is simply the last digit of n+6.) a*=*rem(n+8,12), and k*is the largest integer k' such that 60k' <= n + 2756 (provided that n >= -2696). Having determined e and a by these means, the element name and the animal name are obtained from the above correspondence.

--

URL: http://www.hermetic.ch/cal_stud/ch_year.htm

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Maths layperson in need of help

Loading...

Similar Threads - Maths layperson need | Date |
---|---|

B Fun With Math | Yesterday at 1:48 AM |

B How to "prove" something in math? | Thursday at 3:14 PM |

B Calculate probability of getting 2 red balls | Mar 2, 2018 |

I What does the vertical line in this equation mean? | Feb 28, 2018 |

I Teacher needs maths assistance please | Jan 18, 2018 |

**Physics Forums - The Fusion of Science and Community**