Problem 983

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.

This forum is NOT meant to discuss solution methods for a problem.

In particular don't post any code fragments or results.

Don't start begging others to give partial answers to problems

Don't ask for hints how to solve a problem

Don't start a new topic for a problem if there already exists one


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
Post Reply
drorfrid
Posts: 1
Joined: Sat Feb 07, 2026 5:27 pm

Problem 983

Post by drorfrid »

If I understand correctly, we need to have $n$ circles named $c_1, \dots, c_n$, with $c_i$ and $c_{i+1}$ being harmonious for each $i$. For non-consecutive values of $i, j,$ the circles $c_i, c_j$ can intersect at non-grid points, and that's ok. But, if they do harmonize by accident, do we count those intersection points for the chain to be considered perfect?
urimend
Administrator
Posts: 2652
Joined: Fri Jul 06, 2018 6:34 pm

Re: problem #983

Post by urimend »

The problem does not require a single chain to connect all circles, it asks that every two circles can be connected using a chain (a different chain for every pair).
eskimal
Posts: 15
Joined: Mon Mar 07, 2022 5:32 am

Re: problem #983

Post by eskimal »

Thanks, Urimend. I think now I have understood, but I am not so sure.
For me it´s probably the most confusing problem until now; I mean, problems may be very difficult, but usually at least I always understand what is the problem asking for.
Though the problem does not say that, the examples made me think that every pair of the circles should harmonise
Momotaro
Posts: 2
Joined: Mon Aug 26, 2024 6:50 am

Re: problem #983

Post by Momotaro »

I revised the question after pointed out it might contain spoilers.

If two circles intersect at a non-grid point, would they still be considered consonant as long as they can be connected by a chain of harmonized pairs?
Last edited by Momotaro on Sun Feb 08, 2026 10:41 pm, edited 2 times in total.
urimend
Administrator
Posts: 2652
Joined: Fri Jul 06, 2018 6:34 pm

Re: problem #983

Post by urimend »

Momotaro wrote: Sun Feb 08, 2026 3:26 pm if two circles (say C and D) intersect but only at non-grid points (so they do not harmonise)
Non-grid intersections are simply ignored, so the circles can and should be connected by a chain of harmonised pairs.
Swistakk
Posts: 66
Joined: Thu Feb 08, 2024 9:16 pm

Re: problem #983

Post by Swistakk »

edited out
Image
Friend key: 1418101_YlfryOhRZG4jK77oTiNuK1a32iJMBYwE
pjt33
Posts: 137
Joined: Mon Oct 06, 2008 6:14 pm

Re: Problem 983

Post by pjt33 »

In the diagram with four circles, there are no unique harmony points: every harmony point is shared by at least three pairs of circles. Should I read "distinct harmony points" instead?
User avatar
heteroing
Posts: 74
Joined: Thu Sep 10, 2020 10:23 am
Contact:

Re: Problem 983

Post by heteroing »

pjt33 wrote: Mon Feb 16, 2026 8:32 am Should I read "distinct harmony points" instead?
They want the count of the lattice points (x, y) in the plane which are harmony points of any pair of circles in the configuration.
Image
mr66
Posts: 10
Joined: Sun Mar 13, 2011 11:32 pm

Re: Problem 983

Post by mr66 »

In condition 5 is said that between two arbitrary chosen circles, there existiert a chain of Circles where one with the next harmonizes. But I cannot see that this chain shall contain all circles.
In the case that not all circles have to be included , then I can put circles of r=sqrt(5)
On the Grid points (3i,3i) i=0..n-1
What am I missing or misunderstanding?
mr66
Posts: 10
Joined: Sun Mar 13, 2011 11:32 pm

Re: Problem 983

Post by mr66 »

mr66 wrote: Tue Mar 17, 2026 11:36 am In condition 5 is said that between two arbitrary chosen circles, there existiert a chain of Circles where one with the next harmonizes. But I cannot see that this chain shall contain all circles.
In the case that not all circles have to be included , then I can put circles of r=sqrt(5)
On the Grid points (3i,3i) i=0..n-1
What am I missing or misunderstanding?
Obviously this has too many points
User avatar
thedoctar
Posts: 128
Joined: Fri Apr 15, 2011 11:57 am
Location: Sydney, Australia

Re: problem #983

Post by thedoctar »

urimend wrote: Sat Feb 07, 2026 5:59 pm The problem does not require a single chain to connect all circles, it asks that every two circles can be connected using a chain (a different chain for every pair).
I am a bit confused. The example provided of a sequences of circles, with circles adjacent in the sequence being harmonious, which is just a linear graph, then for any two points in the graph, there is obviously a path between the points.

How does this example contradict the property that
5. The circles are connected in the sense that a chain of circles can be formed between every pair of circles such that each circle harmonises with the next circle.
Do you mean that once you have connected two circles using a chain, all edges in the chain must be removed? This means a complete graph. But why not just ask for a complete graph?

I am very confused.
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Image
fabas indulcet fames
urimend
Administrator
Posts: 2652
Joined: Fri Jul 06, 2018 6:34 pm

Re: Problem 983

Post by urimend »

@thedoctar
A sequence of $n$ circles (each one connected to the next) have $2(n-1)$ harmony points.
For $n > 2$ it means too many harmony points.
User avatar
thedoctar
Posts: 128
Joined: Fri Apr 15, 2011 11:57 am
Location: Sydney, Australia

Re: Problem 983

Post by thedoctar »

So you're just saying it's not perfectly consonant but it is still consonant right?
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Image
fabas indulcet fames
pjt33
Posts: 137
Joined: Mon Oct 06, 2008 6:14 pm

Re: problem #983

Post by pjt33 »

@thedoctar, the graph whose vertices are circles and whose edges connect pairs of circles which harmonise must be a connected graph.
User avatar
thedoctar
Posts: 128
Joined: Fri Apr 15, 2011 11:57 am
Location: Sydney, Australia

Re: Problem 983

Post by thedoctar »

Thanks that is what I expected.
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Image
fabas indulcet fames
Post Reply