Just one "1" in a list
- To: mathgroup at smc.vnet.net
- Subject: [mg78140] Just one "1" in a list
- From: Diana <diana.mecum at gmail.com>
- Date: Sat, 23 Jun 2007 07:22:02 -0400 (EDT)
Math folks, Can someone tell me what command I would use to pick out sublists which contain just one "1"? For example, if I have the following list, {{1,2}, {1,3}, {2,3}, {2,1}, {1,1,2}, {1,2,2}, {2,1}}, I would like to just pull the terms, {{1,2}, {1,3}, {2,1}, {1,2,2}, {2,1}}. Can someone help? Thanks, Diana M.