Skip to main content

Kua Number Calculation Algorithm

Submitted by horoscopers on

Kua Number Calculation Algorithm - The algorithm for calculating the Kua Number based on gender and birth year can be outlined in a clear step-by-step format. Here’s how it works for both males and females born after 2000:

Kua Number Calculation Algorithm for 2000 Births

For Females:

  1. Input: Birth year (e.g., 2005).
  2. Step 1: Extract the last two digits of the birth year.
    • Example: For 2005, the last two digits are 05.
  3. Step 2: Add the digits together.
    • Example: 0+5=50 + 5 = 50+5=5.
  4. Step 3: Add 5 to this total.
    • Example: 5+5=105 + 5 = 105+5=10.
  5. Step 4: Determine Kua Number.
    • If the result is 10, Kua Number = 1.
    • If the result is a single-digit number (1-9), that is the Kua Number.

For Males:

  1. Input: Birth year (e.g., 2005).
  2. Step 1: Extract the last two digits of the birth year.
    • Example: For 2005, the last two digits are 05.
  3. Step 2: Add the digits together.
    • Example: 0+5=50 + 5 = 50+5=5.
  4. Step 3: Subtract this total from 10.
    • Example: 10−5=510 - 5 = 510−5=5.
  5. Step 4: Determine Kua Number.
    • If the result is 5, Kua Number = 2.
    • If the result is a single-digit number (1, 3, 4, 6, 7, 8, or 9), that is the Kua Number.

Summary of the Algorithm

  • For Females:
    • Kua Number = (Sum of digits from the last two digits of birth year + 5) mod 10
    • Resulting number 10 = Kua 1, else it’s the resulting number.
  • For Males:
    • Kua Number = 10 - (Sum of digits from the last two digits of birth year)
    • Resulting number 5 = Kua 2, else it’s the resulting number.

 

Kua Numbers for 1990s Births

Here’s the algorithm for calculating the Kua Number for both males and females born in the 1990s.

Kua Number Calculation Algorithm for 1990s Births

For Females:

  1. Input: Birth year (e.g., 1995).
  2. Step 1: Extract the last two digits of the birth year.
    • Example: For 1995, the last two digits are 95.
  3. Step 2: Add the digits together.
    • Example: 9+5=149 + 5 = 149+5=14.
  4. Step 3: Reduce to a single digit if necessary.
    • Example: 1+4=51 + 4 = 51+4=5.
  5. Step 4: Add 5 to this total.
    • Example: 5+5=105 + 5 = 105+5=10.
  6. Step 5: Determine Kua Number.
    • If the result is 10, Kua Number = 1.
    • If the result is a single-digit number (1-9), that is the Kua Number.

Example: Female Born in 1995

  • Last two digits: 95
  • Sum of digits: 9+5=149 + 5 = 149+5=14
  • Reduce to single digit: 1+4=51 + 4 = 51+4=5
  • Add 5: 5+5=105 + 5 = 105+5=10
  • Kua Number: 1 (since the result is 10)

For Males:

  1. Input: Birth year (e.g., 1992).
  2. Step 1: Extract the last two digits of the birth year.
    • Example: For 1992, the last two digits are 92.
  3. Step 2: Add the digits together.
    • Example: 9+2=119 + 2 = 119+2=11.
  4. Step 3: Reduce to a single digit if necessary.
    • Example: 1+1=21 + 1 = 21+1=2.
  5. Step 4: Subtract this total from 10.
    • Example: 10−2=810 - 2 = 810−2=8.
  6. Step 5: Determine Kua Number.
    • If the result is 5, Kua Number = 2.
    • If the result is a single-digit number (1, 3, 4, 6, 7, 8, or 9), that is the Kua Number.

Example: Male Born in 1992

  • Last two digits: 92
  • Sum of digits: 9+2=119 + 2 = 119+2=11
  • Reduce to single digit: 1+1=21 + 1 = 21+1=2
  • Subtract from 10: 10−2=810 - 2 = 810−2=8
  • Kua Number: 8 (since the result is not 5)

Summary of Kua Numbers for 1990s Births

  • Female born in 1995: Kua Number = 1
  • Male born in 1992: Kua Number = 8