Generate a number which has sequence 11101

In reply to dave_59:

Thanks Dave :) this is making more sense now.