We don’t have enough doctors in the UK: we’re about 12,000 short of where we (apparently) should be. In 2019, 8,730 students graduated with a medical degree in the UK. There is a cap on the number as the training is subsidised by the government and also the students require placements in NHS hospitals. At the other end of the age-group many doctors are leaving the profession – supposedly due to long hours, too much administration and not enough time spent directly with patients. Like many people I used to have one General Practitioner (GP) who I saw each time I visited the surgery. Now I see one of about 20 different GPs, rarely face-to-face. Access to a GP often depends on your postcode and I believe that I am reasonably lucky in this respect where we live in Chester. So I mustn’t complain.

Up until now the middle section of my blog posts have been devoted to travel. I enjoy writing this part, but I think that it is a bit self-indulgent and wonder how interesting it is for all of you. Therefore I am going to extend the numbers part of the blog and miss out the travel. If you will miss the travel section then please let me know.

I’ll now move on to the numbers part of my post and focus on a property of 8,730. Odious numbers

Odious numbers

8,730 is an “odious” number. In number theory, an odious number is a positive number that has an odd number of 1s in its binary representation.

I don’t know about you, but I’d never heard of odious numbers before meeting 8,730 and was instantly curious. They aren’t too difficult to understand although I’m not at all sure why they are described as odious – it’s a strong word to describe anything, least of all a number! But then I discovered that any positive number that isn’t “odious” (i.e. has an even number of 1s in its binary expansion) is described as “evil” which is even worse!! Thus positive numbers are either “odious” or “evil” which is really worrying for someone like me who is trying to engage people’s interest in the world of numbers.

8,730 in binary form is 10001000011010 (five 1s, so definitely odious).

For large numbers it is best to use an automatic convertor from decimal to binary form: I used this one.

You can use an automatic convertor for smaller numbers too, but it’s useful to be able to convert them manually so that you understand the procedure. There are various standard methods for converting decimal numbers into binary. I use the following method which I don’t think is standard, but I find it intuitive.

For a decimal number, each digit (of maximum 9) is placed in a column of powers of 10 as follows:

103

102

101

100

       

or

1,000

100

10

1

       

In other worlds a decimal number such as 25 has a 2 in the 10s column and a 5 in the 1s column: 2 10s and 5 1s gives 25.

1,000

100

10

1

   

2

5

With binary the column headings are powers of 2 as follows:

27

26

25

24

23

22

21

20

               

or

128

64

32

16

8

4

2

1

               

with a 0 or 1 in each column.

I’d then look at my number, say 25. Now 25 would not go in the 32 columns as it is too small, so I’d put it into the 16 column. Then I’d look at the 8 column. 16+8=24 which is less than 25 so this is fine. But both 16+8+4=28 and 16+8+2=26 are too large. But 16+4+1=25 which is what I want. So the binary representation of 25 is 11001.

The first few odious numbers are:

1, 2, 4, 7, 8, 11, 13, 14, 16, 19, 21, 22, 25, 26, 28, 31, 32, 35 and so on

Why isn’t 3 an odious number?

Start off by converting 3 to binary.

4 is too large so place a 1 in the 2 column:

4

2

1

 

1

 

We need a 1 – so place a 1 in the 1s column to get:

4

2

1

 

1

1

Thus the binary representation of 3 is 11 which is an even number of 1s and is “evil” rather than “odious”.

Let’s look at a larger number that’s not on the list of “odious” numbers – say 17.

32 is too large so place the first 1 under 16 as follows:

32

16

8

4

2

1

 

1

       

We just need 1 more to make 17 so put a 1 under the 1 as follows:

32

16

8

4

2

1

 

1

0

0

0

1

This gives the binary representation of 17 as 10001 – that is an even number of 1s and so 17 is “evil”.

Last thoughts

I am really sad that positive numbers are either “odious” or “evil” and whoever came up with this must have been having a particularly bad day at the time! Imagine if humans were either “odious” or “evil” – we’d have become extinct long ago. But numbers have risen above this insult and carry on as strong as ever.