A theorem on the entropy of certain binary sequences and applications--I | Synapse