Find count of binary number pattern within concatenated number
- To: mathgroup at smc.vnet.net
- Subject: [mg91093] Find count of binary number pattern within concatenated number
- From: Diana <diana.mecum at gmail.com>
- Date: Wed, 6 Aug 2008 05:03:51 -0400 (EDT)
Math folks, Can someone tell me how to find the count of the occurrences of "1101" within "11011100101110111100010011010101111001101" generated with the FromDigits statements below? I will be increasing "n". n=13 FromDigits[Flatten[IntegerDigits[Range[n],2]]] 11011100101110111100010011010101111001101. FromDigits[IntegerDigits[n, 2]] 1101 Diana
- Follow-Ups:
- Re: Find count of binary number pattern within concatenated
- From: Daniel Lichtblau <danl@wolfram.com>
- Re: Find count of binary number pattern within concatenated number
- From: "Thomas Dowling" <thomasgdowling@gmail.com>
- RE: Find count of binary number pattern within concatenated number
- From: "Jose Luis Gomez" <jose.luis.gomez@itesm.mx>
- Re: Find count of binary number pattern within concatenated number
- From: "Adriano Pascoletti" <adriano.pascoletti@gmail.com>
- Re: Find count of binary number pattern within concatenated