what do mean of (n) in the formula?
3*n+1?
Unique_number3 (bit manipulation)
hello @mzk1994
n can be any non negative number.
let say N=3*n+1
then through this formula all they are saying is whenever u divide the given number N with 3 u will get 1 as the remainder.
so 3*n+1 is indicating all numbers that gives remainder 1 when we divide it by 3.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.