Prime Ring Problem(经典回溯法)

Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, …, n into each circle separately, and the sum of numbers in two adjacent circles should be a prime.web
相关文章
相关标签/搜索