Re: Occurrences in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg106369] Re: [mg106350] Occurrences in Mathematica
- From: DrMajorBob <btreat1 at austin.rr.com>
- Date: Mon, 11 Jan 2010 05:27:19 -0500 (EST)
- References: <201001100828.DAA05428@smc.vnet.net>
- Reply-to: drmajorbob at yahoo.com
list = RandomInteger[{0, 5}, 7] {0, 0, 0, 4, 5, 2, 3} Cases[Tally[list], {x_, 1} :> x] {4, 5, 2, 3} Bobby On Sun, 10 Jan 2010 02:28:47 -0600, George <gtatishvili at gmail.com> wrote: > Hi, > > I have a very big list of elements and I need Mathematica to give me > only those elements which occure only once... > > Could anybody advise me please how to write the code for that? > > Thks much > George > -- DrMajorBob at yahoo.com
- References:
- Occurrences in Mathematica
- From: George <gtatishvili@gmail.com>
- Occurrences in Mathematica