# [seqfan] Re: Did you know that?

john.mason at lispa.it john.mason at lispa.it
Thu Aug 4 17:51:11 CEST 2016

```Hi Neil
I am not an expert even though I work in public health and colleagues of mine are responsible for sw that prints prescriptions with barcodes for patient-id and prescription-id.

I see in Wikipedia that there are many different standards. My original mail was based on me pointing my smartphone with a free app at my monitor showing the oeis graph.

To tell the truth though, repeating the process holding the phone at different angles produced different numerical results corresponding to different standards, ean and upc.

So I guess the graph in question looks like a barcode, but doesn't really conform to standard.

John

Inviato da IBM Verse

Neil Sloane --- [seqfan] Re: Did you know that? ---
Da:"Neil Sloane" <njasloane at gmail.com>A:"Sequence Fanatics Discussion list" <seqfan at list.seqfan.eu>Data:gio, 04/ago/2016 16:28Oggetto:[seqfan] Re: Did you know that?

Re bar codes:The "left side" bar code seems to be that digits are encoded as follows:0 = 00011011 = 00110012 = 0010011...9 = 0001011according to one web site I found.So let's start with 0 and ask for a sequence which is its own bar codeSince 0 = 0001101 and 1 = 0011001, the sequence would start0001101 0001101 0001101 0011001 0011001   0001101 0011001 ...or in other words0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1,0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, ...John, have I understood the code correctly?  I'm assuming the sequence hasno "guard digits"at the start, is infinite, and we only use the "left half" codeBest regardsNeilNeil J. A. Sloane, President, OEIS Foundation.11 South Adelaide Avenue, Highland Park, NJ 08904, USA.Also Visiting Scientist, Math. Dept., Rutgers University, Piscataway, NJ.Phone: 732 828 6098; home page: http://NeilSloane.comEmail: njasloane at gmail.comOn Thu, Aug 4, 2016 at 8:17 AM, <john.mason at lispa.it> wrote:> Did you know that the pin plot of A257585 https://oeis.org/A257585/graph,> interpreted as a barcode, becomes 12157648?> Are there other barcodes in OEIS?> john> __________________________________>> --> Seqfan Mailing list - http://list.seqfan.eu/>--Seqfan Mailing list - http://list.seqfan.eu/
```