View full-text article in PMC Entropy (Basel). 2021 Nov 27;23(12):1592. doi: 10.3390/e23121592 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Function 3: c = ins1_correct1 (n, a, y, j, h1) Input: n, a, y, j, h1. Output: c=(c1,c2,…,cn)∈C(n,4). 1:ifcjn+1 (j) = h1 then 2: Syn_new = ∑i=1j+1icj,in−1+∑i=j+1n+1(i−1)cj,in+1 mod (8n + 1) 3:else 4: j←j+1 5:end if 6:ifSyn_new = a then 7: c = c1,c2,…,cj−1,cj,cj + 1,…,cn 8:else 9: j←j+1 10: end if