For 2 totally different USA states the 4 prospects occur contemplating their frontiers:
- They do not share any frontier (e.g. Alaska and Utah or Florida and California)
- They share a straight frontier (Montana and South Dakota)
- They share a fractal frontier and a straight frontier (Texas and Oklahoma)
- They share a fractal frontier (Tennesse and North Carolina)
The identical happens for African international locations:
- They do not share any frontier (e.g. Madagascar and Egypt)
- They share a straight frontier (Western Sahara and Morocco)
- They share a fractal frontier and a straight frontier (Egypt and Lybia)
- They share a fractal frontier (Ethiopia and Sudan)
Swap as many US states and African international locations such that the variety of neighbors do not change and the kind of frontier additionally doesn’t change! As soon as a state or a rustic has been swapped, it cannot be swapped once more.
As a trivial begin, Alaska will be swapped with Madagascar as they do not share any frontier with every other state or nation.
Then, Florida has two neighbors, Alabama and Georgia and Florida shares solely fractal frontiers with each of them. The identical happens for Tunisia which has two neighbors, Algeria and Lybia and Tunisia shares solely fractal frontiers with each of them. Consequently, Florida and Tunisia may very well be swapped.
You cannot swap Washington with Morocco even when they’ve the identical variety of neighbors (Idaho and Oregon for Washington) and (Western Sahara and Algeria for Morocco) as a result of Washington shares fractal frontiers with Oregon and fractal and straight frontiers with Idaho whereas Morocco shares straight frontiers with Western Sahara!
What number of pair State(USA)-Nation(Africa) will be swapped at most?
Please think about the next two lists for this puzzle:
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
And:
- Algeria
- Angola
- Benin
- Botswana
- Burkina Faso
- Burundi
- Cabo Verde (Cape Verde)
- Cameroon
- Central African Republic
- Chad
- Comoros
- Republic of the Congo
- Democratic Republic of the Congo
- Côte d’Ivoire (Ivory Coast)
- Djibouti
- Egypt
- Equatorial Guinea
- Eritrea
- Eswatini (previously Swaziland)
- Ethiopia
- Gabon
- The Gambia
- Ghana
- Guinea
- Guinea-Bissau
- Kenya
- Lesotho
- Liberia
- Libya
- Madagascar
- Malawi
- Mali
- Mauritania
- Mauritius
- Morocco
- Mozambique
- Namibia
- Niger
- Nigeria
- Rwanda
- São Tomé and PrÃncipe
- Senegal
- Seychelles
- Sierra Leone
- Somalia
- South Africa
- South Sudan
- Sudan
- Tanzania
- Togo
- Tunisia
- Uganda
- Zambia
- Zimbabwe