Research Article

Fast Software Implementation of Serial Test and Approximate Entropy Test of Binary Sequence

Algorithm 6

Determine the frequency of all possible m-bit subsequence with .
Input: a extended octet string of octet length .
Output:, for each value of , .
 Step 1: , for each value of , . , .
 Step 2: For , do: 2.1 2.2 for , do for do. .
 Step 3: Return .