login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A091329
Bar coding for digits 0 through 9 in Universal Product Code (or UPC).
0
3211, 2221, 2122, 1411, 1132, 1231, 1114, 1312, 1213, 3112
OFFSET
0,1
COMMENTS
These are compositions of 7 into 4 parts, but otherwise seem quite random.
EXAMPLE
Zero is 3211, which means either a white bar of width 3, a black bar of width 2, a white bar of width 1 and a black bar of width 1; or black bar of width 3, a white bar of width 2, a black bar of width 1 and a white bar of width 1.
CROSSREFS
Sequence in context: A232262 A048255 A303995 * A261241 A345772 A020414
KEYWORD
nonn,fini,full,base
AUTHOR
N. J. A. Sloane, May 06 2004
STATUS
approved