String of integers for the character set - Approximate cycles and - Approximation period calculation method is disclosed. The method of calculating an approximate period according to an exemplary embodiment includes: generating an array of length n / 2 for a string T having a length n composed of integer characters; If the length is m Of the character string (T) - Approximate cycle or Calculating an approximation period; And - Approximate cycle or - obtaining a string (P) associated with the approximation period.
展开▼