#find a set of unique rationals in the form 1 over x that sum to 1 (with 2 <= x <= 2023)
79 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with: ```diff
+close
find a set of unique rationals in the form 1 over x that sum to 1 (with 2 <= x <= 2023)
@worn pawnhow many rationals are you using though?
1/2,1/3,1/6 is one of them
I have 42 so far
I need loads
oh
Any ideas
I am not sure I understand the question properly but you can use a recursive method
for all x>0 you have 1/x = 1/(x+1) + 1/(x(x+1))
so if you have a decomposition of 1 you can double the number of terms each time
1 = 1/2 + 1/3 + 1/6
= (1/3 + 1/6) + (1/4 + 1/12) + (1/7 + 1/42)
and so on
1 = 1/3 + 1/4 + 1/6 + 1/7 + 1/12 + 1/42
= (1/4 + 1/12) + (1/5 + 1/20) + (1/7 + 1/42) + (1/8 + 1/56) + (1/13 + 1/156) + (1/43 + 1/1806)
if you want decompositions with denominators <2023 you need to stop decomposing terms that have a denominator >44 (because 45*46 > 2023)
there called farey sequences
yeah but
i got to 5q
52
and then i couldnt split them anymore
yeah but this doesnt work
if you have alot of rationals
i have 942 rationals
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
thats the list of 942
it starts from 237
i am not entirely sure what you want to do
if your point was just finding the biggest sum with bounded denominators you have pretty much stretched the process to the limit
I don't know if it is optimal but that's already plenty
if you wish you could keep going indefinitely with bigger denominators
if you see that list on pastebin there
if you put each of those numbers over 1
so 1/x
yeah i know
so how couldi find more, its bugging me
that wasn't my question
.
what are you trying to accomplish exactly
there are definitely more
finding the most
find the biggest list with bounded x <= 2023
with what restrictions
then it's an optimization problem
do you know howi could tackle it
not really no
do you know anyone who could help me
not really no
damn
what are you going to do with your list ?
its for a competition
Axiom 1: π is rational and has numerator 1
Axiom 2: 1-π has numerator 1
Solution: π-π+1=1
π is very unique
Well let's try to face it with some nt approach .
Sum of 1/n_i is the sum over all not n_i numbers by the multiplication of all ni's
But they both should be the same
Cuz..m it's 1
well if we take modn_i of the ewuatiob
We get:
Multiplication of all numberd which are not n_i in n is equal to 0 modn.
n1n2n3...ni-1*ni+1...nk..=modni to 0
Meaning
...
We need to find the largest sequence where this holds
For every number in the sequence
Well actually
My whole approach was stupid
Since mod adds more solutions...
My bad...