Problem 821
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.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
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
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.
-
b10r
- Posts: 2
- Joined: Wed Dec 21, 2022 5:37 pm
Problem 821
I think, I don't get the point. Can't we define for F(6) the set S = {1, 4, 5, 6} and hence the union of S, 2S and 3S becomes {1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 18}, which is intersected with {1, ..., 6} again {1, 2, 3, 4, 5, 6}. Overall we then would have F(6) = 6 and more generally F(N) = N. Am I missing something???
- bruce_love
- Administrator
- Posts: 3541
- Joined: Sat Sep 24, 2011 11:59 am
Re: Problem 821
The set $S=\{1,4,5,6\}$ is NOT 123-Separable.
$2S = \{2,8,10,12\}$ and $3S = \{3,12,15,18\}$ are not disjoint as $12\in 2S$ and $12\in 3S$.
$2S = \{2,8,10,12\}$ and $3S = \{3,12,15,18\}$ are not disjoint as $12\in 2S$ and $12\in 3S$.
-
b10r
- Posts: 2
- Joined: Wed Dec 21, 2022 5:37 pm
-
haroldgparker
- Posts: 11
- Joined: Sat Apr 24, 2021 1:19 am
Re: Problem 821
I'm currently getting the wrong answer for F(10^16) and trying to track down where things are coming apart in my algorithm. Unfortunately, I am getting the right answer for F(6) and F(20). Would it be OK to post my results for, and ask for confirmation of, some moderately high F(n)'s?
- neverforget
- Posts: 88
- Joined: Sat Sep 16, 2006 10:10 pm
Re: Problem 821
Unfortunately, this isn't the right place for asking that. These threads are meant to clarify possible confusion and inaccuracies in the problem statement. Often, the examples given in these problem are carefully crafted to verify basic understanding without giving too much away.
Have you tried writing a simpler (but slower) solution to verify your optimized one?
Have you tried writing a simpler (but slower) solution to verify your optimized one?

-
haroldgparker
- Posts: 11
- Joined: Sat Apr 24, 2021 1:19 am