PROJECT EULER · #0846
Magic Bracelets
A bracelet is made by connecting at least three numbered beads in a circle. Each bead can only display
In addition a magic bracelet must satisfy the following two conditions:
- no two beads display the same number
- the product of the numbers of any two adjacent beads is of the form
Define the potency of a magic bracelet to be the sum of numbers on its beads.
The example is a magic bracelet with five beads which has a potency of 155.
Let
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.