# Addition problem

**URL:** <https://openfhe.discourse.group/t/addition-problem/1053>\
**Category:** FHE Questions\
**Created:** [January 29, 2024, 1:55am UTC](https://openfhe.discourse.group/t/addition-problem/1053 "2024-01-29T01:55:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [January 29, 2024, 1:55am UTC](https://openfhe.discourse.group/t/addition-problem/1053/1 "2024-01-29T01:55:03Z")

</div>

One ciphertext is multiplied by one ciphertext, and then another ciphertext is added, but the output is not. What is the reason for this

For example, the output of A \* B+C is A \* B

---

<div class="post-metadata">

**Author:** ![dcousins](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/dcousins/32/71_2.png) [@dcousins](https://openfhe.discourse.group/u/dcousins)\
**Post date:** [January 29, 2024, 8:37pm UTC](https://openfhe.discourse.group/t/addition-problem/1053/2 "2024-01-29T20:37:46Z")

</div>

You have most likely made an error in your code somewhere.  
When asking this type of question you really need to post snippets from you code. List all the configuration steps, the encoding, encryption, math and decryption steps. I can’t even tell what scheme you are trying to use.

If you want to debug yourself. try decrypting A, B and C first, and make sure you encoded and encrypted the way you think.
