Thought you knew all there is to know about number systems? Well,
here's something new to that list - Negabinary numbers. These are
numbers that are written to the base -2 (negative two). What's so great
about these numbers? There is no need to put any + or - to denote
whether it is a positive number or not. Let's check these numbers out.
The normal way a number is defined, works here as well. There are "b" number of digits in a number system of base "b". Here, we just have to change the definition to: there are "|b|" number of digits in a number system of base "b". The definition works perfectly after that. Then, we can just use the following equation:
Using this we can thus generate the first few numbers (0, 1, 2, 3, 4, 5...) in negabinary: 0, 1, 110, 111, 100, 101... (Sequence A039724 on Online Encyclopedia of Integer Sequences (OEIS)) where 0 and 1 have usual face values.
How do we convert a number to this base then? Write the number down in binary first. Then, going from right to left, at every odd place (i.e. x1, x3, x5 ...), if the bit is one, propagate a carry to the next bit. Also, while moving from right to left, add all the carries.
For example:
To convert 15 to negabinary:
Addition is kinda done the way conversion is done, except that carries are propagated (one bit extra to the left, since 2negabinary = 110).
We can similarly define the other operations as well.
Let's take this onto another level itself: how about a number system that takes care of complex numbers as well (as digit strings)? I leave that upto you to figure out and comment about.
PS: This post is cross published on my blog http://jaybosamiya.blogspot.in/2014/10/negabinary.html
The normal way a number is defined, works here as well. There are "b" number of digits in a number system of base "b". Here, we just have to change the definition to: there are "|b|" number of digits in a number system of base "b". The definition works perfectly after that. Then, we can just use the following equation:
Using this we can thus generate the first few numbers (0, 1, 2, 3, 4, 5...) in negabinary: 0, 1, 110, 111, 100, 101... (Sequence A039724 on Online Encyclopedia of Integer Sequences (OEIS)) where 0 and 1 have usual face values.
How do we convert a number to this base then? Write the number down in binary first. Then, going from right to left, at every odd place (i.e. x1, x3, x5 ...), if the bit is one, propagate a carry to the next bit. Also, while moving from right to left, add all the carries.
For example:
To convert 15 to negabinary:
- Convert 15 to binary
- 15decimal=1111binary
- Propagate from right to left
- 1111
- 1111
- 1211
- 2011
- 2011
- 10011
- 10011
- 10011negabinary
- Done! (This is correct since 16-0+0-2+1 = 15)
Addition is kinda done the way conversion is done, except that carries are propagated (one bit extra to the left, since 2negabinary = 110).
We can similarly define the other operations as well.
Let's take this onto another level itself: how about a number system that takes care of complex numbers as well (as digit strings)? I leave that upto you to figure out and comment about.
PS: This post is cross published on my blog http://jaybosamiya.blogspot.in/2014/10/negabinary.html
I has suffered for Human papillomavirus HPV) for 2years, I was given some tablets at the hospital but I refused to take it, They said I have to be on it for life so I don't want take a drugs everyday for life. No point in taking medicine everyday when u won't get cure from it and I was advice to seek for natural herbal cure, after some time I found dr onokun is the most trustful herbalist that have herbs to cure wicked symptom's,I emailed dr onokun, for 2weeks been his patient he cured my (HPV) with his herbal. I only used his natural herbs for two weeks it was 100% cure. I'm not (HPV) patient anymore. I'm happy about it i finally got cured out of this mess been in my body for 2years. I also recommend you if you're living with (HPV) or herpes symptoms i also want you to be free contact dr onokun with the email attach to my post. dronokunherbalcure@gmail.com
ReplyDeleteAm here to appreciate Dr Emmanuel for using his herbal medicine to cure my herpes virus. since 3 years now I have been living with this virus and it has been giving me challenges, I was so perplexed cause i have been taking several drugs to be cured but all of my effort was in vain,one morning i was browsing through the internet then i saw several testimonies about Dr. Emmanuel curing people from Herpes virus and immediately i contacted Dr. Emmanuel on his email: nativehealthclinic@gmail.com, i told him about my troubles and he told me that i must be cured, gave me some instructions and which i rightly followed. so he prepared a herbal medicine for me and sent it to me which i used for 2 weeks and everything was like a dream to me and my Herpes virus was totally gone, why don't you contact him today and be free from your diseases because he is very good and honest Doctor. contact him via email; nativehealthclinic@gmail.com or whatsApp/Call him on +2348140073965 God bless him for me.he also cured HIV/AID,genital ,wart,COPD,cancel and all kind of disease and virus
Delete
DeleteHello Am From The UK , I want to write a little testimony about the good work of doctor Oyagu who cured me from Hsv 1 and 2 for just 2 weeks with his herbal medicine, I never believe I can be normal again and have a good life like others I always regretted the day I got diagnose with the virus, I was lost of hope when my doctor told me there is no cure for it but I keep thinking and thinking about my future, if I can have kids of my own well I am so grateful for my helper who get me cured with his herbal medicine, I go online in search of anything that can help me because I can’t deal with it forever so I found this doc Oyagu email on a blog of someone who was cured by him I quickly contact him for help and explain all my pain to him, he told me not to worry about it there is cure for real, I never believe until he send me the herbal medicine when I order for it and I have it within 4 days that is how I took the medicine for 2 week and the following week I go for test just to confirm I was 100% cured from this sickness what a miracle in my life I am so happy right now, you can also get in contact with him if you have such sickness through email address oyaguherbalhome@gmail.com or text him on what's app, phone number +2348101755322 Dr Oyagu also has remedy to others disease like COLD SORES,HIV/AIDS,DIABETES.CANCER,HIGH BLOOD PRESSURE AND MANY MORE. I oblige everyone to contact this powerful herbalist Dr Oyagu and be free from suffering.
Greetings to the general public, I want to tell about how I was cured of
DeleteHIV disease by a Doctor called Dr. voodoo . I was browsing the Internet
searching for remedy on HIV and I saw a comment of people talking about how
Doctor voodoo cured them. I was scared because I never believed in the
Internet but i was convince to give him a try because i having no hope of
been cured of HIV so I decided to contact him with his email that was
listed on the comment voodoospelltemple66@gmail.com when I contacted
him he gave me hope and send a Herbal medicine to me that I took and
it seriously worked for me, am a free person now without problem,
my HIV result came out negative. I pray for you Dr. voodoo God will give
you everlasting life, you shall not die before your time for being sincere
and great men. Am so happy, you can also contact him if you have any
problem Email: voodoospelltemple66@gmail.com
or Add him up on WhatsAp +2348140120719
I was diagnosed of HERPES in 2015, i have tried everything possible in life from one doctor to another, one hospital to another, series of tests different kinds of medication i had already lost hope until i meet Great DR OBUDU online testimonies, a specialist in herbal medication from Africa, i contacted him true his email OBUDU.MIRACLEHERBALHOME@GMAIL.COM and he prepared HERPES herbal medication for me which i took for 14days and now i am completely cured i want to use this medium to express my gratitude to him for saving my life and curing me from HERPES VIRUS for taking away all my pains and sorrows, I''m indeed grateful and i am so happy I''m now cured totally, I will continue to tell the good news of your great works to everyone, if you have HERPES or other disease contact him true his Email: OBUDU.MIRACLEHERBALHOME@GMAIL.COM Or whatsApp him via +2347035974895 thank you my great DR OBUDU for curing me keep up your great work
ReplyDeleteHappiness is all i see now I never thought that I will be cured from HERPES virus again. I have been suffering from a deadly disease (HERPES) for the past 3 years now, I had spent a lot of money going from one places to another, from churches to churches, hospitals have been my home every day residence. Constant checks up have been my hobby not until this faithful day, I was searching through the internet, I saw a testimony on how DR Onokun helped someone in curing his HERPES disease, quickly I copied his email which is dronokunherbalcure@gmail.com just to give him a test I spoke to him, he asked me to do some certain things which I did, he told me that he is going to provide the herbal cure to me, which he did, then he asked me to go for medical checkup after some days after using the herbal cure, behold I was free from the deadly disease, he only asked me to post the testimony through the whole world, faithfully am doing it now, please brothers and sisters, he is great, I owe him in return. if you are having a similar problem just email him on : Dronokunherbalcure@gmail.com
ReplyDeleteAre you still out there suffering from HERPES VIRUS, when You can get cured, i was happy to get my cure from Dr Oduku, i did not believe the first time until i took the herbal remedy, i can tell the whole world that am finally free from Herpes Virus, i can not hide my joy that is the reason why i am here to share my testimony, if you are still out there suffering from HERPES i we want you to contact Dr Oduku, and you we see the wonder power of his herbal medicine. Why wait and suffer when there is someone like Dr Oduku contact him Email: odukuherbalremediess@gmail.com or what-app number +2347067706774.
ReplyDeleteHello Everyone out there,I am here to give my testimony about a Herbalist doctor who helped me . I was infected with HERPES SIMPLEX VIRUS in 2012, i went to many hospitals for cure but there was no solution, so I was thinking how can I get a solution out so that my body can be okay. One day I was in the river side thinking where I can go to get solution. so a lady walked to me telling me why am I so sad and i open up all to her telling her my problem, she told me that she can help me out, she introduce me to a doctor who uses herbal medication to cure HERPES SIMPLEX VIRUS and gave me his email, so i mail him. He told me all the things I need to do and also give me instructions to take, which I followed properly. Before I knew what is happening after two weeks the HERPES SIMPLEX VIRUS that was in my body got vanished . so if you are also heart broken and also need a help, you can also email him at {oliha.miraclemedicine@gmail.com}
ReplyDeleteor whatsapp him number: +2349038382931.
Contact him today and you will have a testimony...Good luck!
Am here to appreciate Dr Emmanuel for using his herbal medicine to cure my herpes virus. since 3 years now I have been living with this virus and it has been giving me challenges, I was so perplexed cause i have been taking several drugs to be cured but all of my effort was in vain,one morning i was browsing through the internet then i saw several testimonies about Dr. Emmanuel curing people from Herpes virus and immediately i contacted Dr. Emmanuel on his email: nativehealthclinic@gmail.com, i told him about my troubles and he told me that i must be cured, gave me some instructions and which i rightly followed. so he prepared a herbal medicine for me and sent it to me which i used for 2 weeks and everything was like a dream to me and my Herpes virus was totally gone, why don't you contact him today and be free from your diseases because he is very good and honest Doctor. contact him via email; nativehealthclinic@gmail.com or whatsApp/Call him on +2348140073965 God bless him for me.he also cured HIV/AID,genital ,wart,COPD,cancel and all kind of disease and virus
ReplyDelete
ReplyDeletewhat a great testimony about doctor losa i want to use this oppurtunity to thank doctor losa on how i was cured from Hiv 3 months ago i want to the hospital for a test and i confirmed that i have Hiv positive since 4 years ago and i contacted so many doctors and all the doctor was all scam since 4 years ago but a friend of mine introduce me to doctor losa how he was cured from Hiv and i really contacted him and i purchase for the items after that doctor losa sent me the medication and tells me the instruction on how i will be taking the medication how i take the medication for 2 weeks and 3 days after taking it i went to the hospital to confirm and the news was so excited confirmed that i was Hiv negative once again i want to thank doctor losa for the great thing he done for me you can contact him on is EMAIL dr.losaherbalhome@gmail.com or his whatsapp number +2349056464736
and he can cure a lot of disease
1 Cancer
2 Hpv1/2
3 Hsv1/2HEPATITIS A AND B
4 DIABETIC.
5 HERPES
once again thank you doctor losa i will be ever greatful to you
Hello viewers around the Globe, I was despondent because i had a very small penis, about 2.5 inches soft and 4 inches hard not nice enough to satisfy a woman, i have been in so many relationship, but cut off because of my situation, i have used so many product which doctors prescribe for me, but none could offer me the help i searched for. i saw some few comments on the INTERNET about this specialist called Dr,MOSES and decided to contact him on his email: Dr.mosesherbalisthome@gmail.com) so I decided to give his herbal product a try. i emailed him and he got back to me, he gave me some comforting words with his herbal pills for Penis Enlargement, Within 3 week of it, i began to feel the enlargement was surprised when she said that she is satisfied with my sex and i have got a large penis. Am so happy, thanks to Dr MOSES I also learn that Dr MOSES also help with Breast Enlargement Hips and Bums Enlargement etc.. If you are in any situation with a little Penis, weak ejaculation, small breast_hips_bums do get to Dr MOSES now for help on his email (Dr.mosesherbalisthome@gmail.com) or add him on whatsapp line +2348109374702..............
ReplyDeleteHE ALSO CURE THE FOLLOWING ........ HERPES VIRUS........... HPV VIRUS........ WEAK ERECTION ............
. PREMATURE EJACULATION.............
. LOW SPERM COUNT.....................
My joy knows no bounds, I never thought that one day I will live on earth cured of this virus. I have been suffering from this deadly virus "HERPES SIMPLEX VIRUS" since 5 years ago. I have spent a lot of money on drugs and going from one hospital to another, hospital has been my most visited place where constant check up have been my hobby not until one day, i decided to share my situation to a very close friend of mine and she was very upset with me for not telling her ever since that she is aware of a doctor called DRASHAOSEMUDIAMEN who helps people in curing their HERPES. i quickly contacted his email: drashaosemudiamen@gmail. com that was given to me by loveth felix, just to give him a test, i spoke to him, he asked me to do some certain things which i did, he told me that he was going to prepare and send some herbal cure to me, which he did and thereafter i received it and after using the herbal cure within 2weeks and few days i was totally cured, i had to go back to the same hospital that I have been going before to confirm my cure and behold I was confirmed negative by my doctor, so today I am here to spread the good-news of my life on how DRASHAOSEMUDIAMEN saved me from the nightmare and outbreaks of HERPES VIRUS. You can contact him via email: drashaosemudiamen@gmail. com or Whats-app: +2347052021645. If you are still suffering from this deadly virus...I believe you're going to be happy and feel alive again just as I am right now.
ReplyDeleteEmail: drashaosemudiamen@gmail. com
Whats-app: +2347052021645
CAN AS WELL CURE THE FOLLOWING DISEASE:-
1. HERPES
2. PENIS ENLARGEMENT
3. GONORRHEA
4. HIV/AIDS
5. LOW SPERM COUNT
6. MENOPAUSE DISEASE
7. EPILEPSY
8. ASEPSIS
9. CANCER
10. ANXIETY DEPRESSION
11. PREGNANCY PROBLEM
12. SHORT SIGHTEDNESS PROBLEM
13.YOU NEED YOUR WIFE OR HUSBAND BACK
14. PTSD
15 ADHD
and a lot more.....
Just wanna say a big thank you patrice cythia for introducing me to Dr Akioya the great HERBALIST that helped me prepare home remedies that cured my herpes simplex virus (HSV1&2) I was infected with herpes for the past two years and i was not happy all day so i was desperate to get a cure so that i can live normal and get healthy. One day i was less busy so i decided to make latest research on herpes cure and i found a site were everyone was talking about Dr Akioya and has ability to cure Herpes, HIV, HPV, Cancer, ALS, COPD, Anthrax, genital wart, cold sore, Arthritis skin tag and all manners of diseases and virus. So i discussed with cythia and she explained to me that its very easy working with Dr Akioya so i contacted Dr Akioya via email dr.akioya17spellhome@gmail.com and he helped me just as he has helped others now I am now cured from herpes am very happy now. and i can also assure you that he can also help you. so if you need the service of DR Akioya kindly contact him drakioya17spellhome@gmail.com. or whatsapp +2348105257464.He can also cure so many sickness
ReplyDelete
ReplyDeleteHello Am From The UK , I want to write a little testimony about the good work of doctor Oyagu who cured me from Hsv 1 and 2 for just 2 weeks with his herbal medicine, I never believe I can be normal again and have a good life like others I always regretted the day I got diagnose with the virus, I was lost of hope when my doctor told me there is no cure for it but I keep thinking and thinking about my future, if I can have kids of my own well I am so grateful for my helper who get me cured with his herbal medicine, I go online in search of anything that can help me because I can’t deal with it forever so I found this doc Oyagu email on a blog of someone who was cured by him I quickly contact him for help and explain all my pain to him, he told me not to worry about it there is cure for real, I never believe until he send me the herbal medicine when I order for it and I have it within 4 days that is how I took the medicine for 2 week and the following week I go for test just to confirm I was 100% cured from this sickness what a miracle in my life I am so happy right now, you can also get in contact with him if you have such sickness through email address oyaguherbalhome@gmail. com or text him on what's app, phone number +2348101755322 Dr Oyagu also has remedy to others disease like COLD SORES,HIV/AIDS,DIABETES.CANCER,HIGH BLOOD PRESSURE AND MANY MORE. I oblige everyone to contact this powerful herbalist Dr Oyagu and be free from suffering.
ReplyDeleteHello Am From The UK , I want to write a little testimony about the good work of doctor Oyagu who cured me from Hsv 1 and 2 for just 2 weeks with his herbal medicine, I never believe I can be normal again and have a good life like others I always regretted the day I got diagnose with the virus, I was lost of hope when my doctor told me there is no cure for it but I keep thinking and thinking about my future, if I can have kids of my own well I am so grateful for my helper who get me cured with his herbal medicine, I go online in search of anything that can help me because I can’t deal with it forever so I found this doc Oyagu email on a blog of someone who was cured by him I quickly contact him for help and explain all my pain to him, he told me not to worry about it there is cure for real, I never believe until he send me the herbal medicine when I order for it and I have it within 4 days that is how I took the medicine for 2 week and the following week I go for test just to confirm I was 100% cured from this sickness what a miracle in my life I am so happy right now, you can also get in contact with him if you have such sickness through email address oyaguherbalhome@gmail.com or text him on what's app, phone number +2348101755322 Dr Oyagu also has remedy to others disease like COLD SORES,HIV/AIDS,DIABETES.CANCER,HIGH BLOOD PRESSURE AND MANY MORE. I oblige everyone to contact this powerful herbalist Dr Oyagu and be free from suffering.
Happiness is all i see now I never thought that I will be cured from HERPES virus again. I have been suffering from a deadly disease (HERPES) for the past 3 years now, I had spent a lot of money going from one places to another, from churches to churches, hospitals have been my home every day residence. Constant checks up have been my hobby not until this faithful day, I was searching through the internet, I saw a testimony on how DR agaba helped someone in curing his HERPES disease, quickly I copied his email which is Dragabasolutionhome@gmail.com just to give him a test I spoke to him, he asked me to do some certain things which I did, he told me that he is going to provide the herbal cure to me, which he did, then he asked me to go for medical checkup after some days after using the herbal cure, behold I was free from the deadly disease, he only asked me to post the testimony through the whole world, faithfully am doing it now, please brothers and sisters, he is great, I owe him in return. if you are having a similar problem just email him on : Dragabasolutionhome@gmail.com or WhatApp: +2349074536486
ReplyDeleteHello everyone. Dr. Ehimare. Herbs is a good remedy for herpes Virus , I was a carrier of herpes virus and I saw a testimony on how Dr. Ehimare. cure Herpes Virus, I decided to contact him, I contacted him and he guided me. I asked him for solutions and he started the remedies for my health. After he finish he sent me the herbs which i took for 2 weeks before asking me to go for a check up and getting there i could not believe that i was confirm HSV 2 Negative after the test, Today i am so happy because i'm free from herpes disease with the help of Dr. Ehimare. Thank God now everything is fine, I'm cured by Dr. Ehimare herbal medicine, I'm very thankful to God for making it possible. you can reach him on his email, i strongly recommend him to any one out here looking for a cure.Contact Dr Ehimare via email: Drehimare3@gmail.com call or whatsApp him on+1 (267) 691-1087
ReplyDeleteFINALLY FREE FROM HERPES VIRUS..I thought my life had nothing to offer anymore because life became meaningless to me because I had Herpes virus, the symptoms became very severe and bold and made my family run from me and abandon me so they won't get infected. I gave up everything, my hope, dreams,vision and job because the doctor told me there's no cure. I consumed so many drugs but they never cured me but hid the symptoms inside me making it worse. I was doing some research online someday when I came across testimonies of some people of how DR Ede cured them from Herpes, I never believed at first and thought it was a joke but later decided to contact him on the details provided and when I messaged him we talked and he sent me his herbal medicine and told me to go for a test after two weeks. Within 7 days of medication the symptoms disappeared and when I went for a test behold I was NEGATIVE by the Doctor Who tested me earlier. Thank you DR Ede because I forever owe you my life and I'll keep on telling the world about you. If you are going through the same situation, worry no more and contact DR Ede via his Email(dredespellcaster@gmail.com) Or WhatsApp him (+2347064290546) He is good too to cure all types of disease and virus. 1 HIV cure 2 cancer 3 diabetes 4 hepatitis 5 herpes. You can contact him if you are having any problems...
ReplyDelete