Egyptian Fraction when numerator is greater than denominator
I am doing an assignment about Egyptian fractions and I am a bit confused about what to do when the given fraction's numerator is greater than denominator. My initial idea was to subtract the fraction by 1, 1/2, 1/3 etc and when the numerator becomes less than denominator I would apply the proper algorithm. And I saw that this way does not work out. Do you have any suggestions?
Thank you.
EDIT: I cannot subtract by 1 because it will not be an Egyptian fraction.
number-theory elementary-number-theory egyptian-fractions
add a comment |
I am doing an assignment about Egyptian fractions and I am a bit confused about what to do when the given fraction's numerator is greater than denominator. My initial idea was to subtract the fraction by 1, 1/2, 1/3 etc and when the numerator becomes less than denominator I would apply the proper algorithm. And I saw that this way does not work out. Do you have any suggestions?
Thank you.
EDIT: I cannot subtract by 1 because it will not be an Egyptian fraction.
number-theory elementary-number-theory egyptian-fractions
Convert to a mixed number first, I think.
– Dan Uznanski
Dec 24 at 15:03
To be honest I don't want my number to have the form 1 + 1+1+ 1/n1. In the final representation each 1/n for n belongs to natural numbers, should be appeared one time.
– ManosL
Dec 24 at 15:08
Right, it'd be, for instance, 17/5 = 3 + 1/3 + 1/15
– Dan Uznanski
Dec 24 at 15:10
I don't want that too
– ManosL
Dec 24 at 15:11
Norm is to let the integer part be a single term, with denominator $1$ as it were. Thus if you ask Wolfram alpha for the egyptian fraction representation of $frac 72$ it will return $3+frac 12$.
– lulu
Dec 24 at 15:26
add a comment |
I am doing an assignment about Egyptian fractions and I am a bit confused about what to do when the given fraction's numerator is greater than denominator. My initial idea was to subtract the fraction by 1, 1/2, 1/3 etc and when the numerator becomes less than denominator I would apply the proper algorithm. And I saw that this way does not work out. Do you have any suggestions?
Thank you.
EDIT: I cannot subtract by 1 because it will not be an Egyptian fraction.
number-theory elementary-number-theory egyptian-fractions
I am doing an assignment about Egyptian fractions and I am a bit confused about what to do when the given fraction's numerator is greater than denominator. My initial idea was to subtract the fraction by 1, 1/2, 1/3 etc and when the numerator becomes less than denominator I would apply the proper algorithm. And I saw that this way does not work out. Do you have any suggestions?
Thank you.
EDIT: I cannot subtract by 1 because it will not be an Egyptian fraction.
number-theory elementary-number-theory egyptian-fractions
number-theory elementary-number-theory egyptian-fractions
edited Dec 24 at 15:03
asked Dec 24 at 15:01
ManosL
385
385
Convert to a mixed number first, I think.
– Dan Uznanski
Dec 24 at 15:03
To be honest I don't want my number to have the form 1 + 1+1+ 1/n1. In the final representation each 1/n for n belongs to natural numbers, should be appeared one time.
– ManosL
Dec 24 at 15:08
Right, it'd be, for instance, 17/5 = 3 + 1/3 + 1/15
– Dan Uznanski
Dec 24 at 15:10
I don't want that too
– ManosL
Dec 24 at 15:11
Norm is to let the integer part be a single term, with denominator $1$ as it were. Thus if you ask Wolfram alpha for the egyptian fraction representation of $frac 72$ it will return $3+frac 12$.
– lulu
Dec 24 at 15:26
add a comment |
Convert to a mixed number first, I think.
– Dan Uznanski
Dec 24 at 15:03
To be honest I don't want my number to have the form 1 + 1+1+ 1/n1. In the final representation each 1/n for n belongs to natural numbers, should be appeared one time.
– ManosL
Dec 24 at 15:08
Right, it'd be, for instance, 17/5 = 3 + 1/3 + 1/15
– Dan Uznanski
Dec 24 at 15:10
I don't want that too
– ManosL
Dec 24 at 15:11
Norm is to let the integer part be a single term, with denominator $1$ as it were. Thus if you ask Wolfram alpha for the egyptian fraction representation of $frac 72$ it will return $3+frac 12$.
– lulu
Dec 24 at 15:26
Convert to a mixed number first, I think.
– Dan Uznanski
Dec 24 at 15:03
Convert to a mixed number first, I think.
– Dan Uznanski
Dec 24 at 15:03
To be honest I don't want my number to have the form 1 + 1+1+ 1/n1. In the final representation each 1/n for n belongs to natural numbers, should be appeared one time.
– ManosL
Dec 24 at 15:08
To be honest I don't want my number to have the form 1 + 1+1+ 1/n1. In the final representation each 1/n for n belongs to natural numbers, should be appeared one time.
– ManosL
Dec 24 at 15:08
Right, it'd be, for instance, 17/5 = 3 + 1/3 + 1/15
– Dan Uznanski
Dec 24 at 15:10
Right, it'd be, for instance, 17/5 = 3 + 1/3 + 1/15
– Dan Uznanski
Dec 24 at 15:10
I don't want that too
– ManosL
Dec 24 at 15:11
I don't want that too
– ManosL
Dec 24 at 15:11
Norm is to let the integer part be a single term, with denominator $1$ as it were. Thus if you ask Wolfram alpha for the egyptian fraction representation of $frac 72$ it will return $3+frac 12$.
– lulu
Dec 24 at 15:26
Norm is to let the integer part be a single term, with denominator $1$ as it were. Thus if you ask Wolfram alpha for the egyptian fraction representation of $frac 72$ it will return $3+frac 12$.
– lulu
Dec 24 at 15:26
add a comment |
1 Answer
1
active
oldest
votes
Your trick is pretty close to getting what you want, but you stop too early. As you probably know, the series
$$
1 + frac12 + frac13 + frac14 + cdots
$$
diverges, which means that for any initial value $frac pq$ you started with, there is an $n$ such that
$$
H_n = 1 + frac12 + cdots + frac1n leq frac pq < 1 + frac12 + cdots + frac1{n+1} = H_{n+1}.
$$
Now, you can look at the rational $frac pq - H_n$, which must be less than $frac1{n+1}$. Thus, if we apply any ordinary Egyptian fraction algorithm that works for fractions less than 1, you get a representation of $frac pq - H_n$, and any term in this Egyptian fraction decomposition will have denominator greater than $n + 1$. Now just add $H_n$ back to this representation, and you have a decomposition of $frac pq$ of the form that you are looking for.
1
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
1
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3051333%2fegyptian-fraction-when-numerator-is-greater-than-denominator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your trick is pretty close to getting what you want, but you stop too early. As you probably know, the series
$$
1 + frac12 + frac13 + frac14 + cdots
$$
diverges, which means that for any initial value $frac pq$ you started with, there is an $n$ such that
$$
H_n = 1 + frac12 + cdots + frac1n leq frac pq < 1 + frac12 + cdots + frac1{n+1} = H_{n+1}.
$$
Now, you can look at the rational $frac pq - H_n$, which must be less than $frac1{n+1}$. Thus, if we apply any ordinary Egyptian fraction algorithm that works for fractions less than 1, you get a representation of $frac pq - H_n$, and any term in this Egyptian fraction decomposition will have denominator greater than $n + 1$. Now just add $H_n$ back to this representation, and you have a decomposition of $frac pq$ of the form that you are looking for.
1
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
1
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
add a comment |
Your trick is pretty close to getting what you want, but you stop too early. As you probably know, the series
$$
1 + frac12 + frac13 + frac14 + cdots
$$
diverges, which means that for any initial value $frac pq$ you started with, there is an $n$ such that
$$
H_n = 1 + frac12 + cdots + frac1n leq frac pq < 1 + frac12 + cdots + frac1{n+1} = H_{n+1}.
$$
Now, you can look at the rational $frac pq - H_n$, which must be less than $frac1{n+1}$. Thus, if we apply any ordinary Egyptian fraction algorithm that works for fractions less than 1, you get a representation of $frac pq - H_n$, and any term in this Egyptian fraction decomposition will have denominator greater than $n + 1$. Now just add $H_n$ back to this representation, and you have a decomposition of $frac pq$ of the form that you are looking for.
1
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
1
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
add a comment |
Your trick is pretty close to getting what you want, but you stop too early. As you probably know, the series
$$
1 + frac12 + frac13 + frac14 + cdots
$$
diverges, which means that for any initial value $frac pq$ you started with, there is an $n$ such that
$$
H_n = 1 + frac12 + cdots + frac1n leq frac pq < 1 + frac12 + cdots + frac1{n+1} = H_{n+1}.
$$
Now, you can look at the rational $frac pq - H_n$, which must be less than $frac1{n+1}$. Thus, if we apply any ordinary Egyptian fraction algorithm that works for fractions less than 1, you get a representation of $frac pq - H_n$, and any term in this Egyptian fraction decomposition will have denominator greater than $n + 1$. Now just add $H_n$ back to this representation, and you have a decomposition of $frac pq$ of the form that you are looking for.
Your trick is pretty close to getting what you want, but you stop too early. As you probably know, the series
$$
1 + frac12 + frac13 + frac14 + cdots
$$
diverges, which means that for any initial value $frac pq$ you started with, there is an $n$ such that
$$
H_n = 1 + frac12 + cdots + frac1n leq frac pq < 1 + frac12 + cdots + frac1{n+1} = H_{n+1}.
$$
Now, you can look at the rational $frac pq - H_n$, which must be less than $frac1{n+1}$. Thus, if we apply any ordinary Egyptian fraction algorithm that works for fractions less than 1, you get a representation of $frac pq - H_n$, and any term in this Egyptian fraction decomposition will have denominator greater than $n + 1$. Now just add $H_n$ back to this representation, and you have a decomposition of $frac pq$ of the form that you are looking for.
answered Dec 24 at 15:41
Mees de Vries
16.5k12654
16.5k12654
1
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
1
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
add a comment |
1
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
1
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
1
1
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
As $H_n approx ln n+0.577$ if the integer part of the number to be expressed is at all large it will take a lot of terms. If we want $H_n gt 10$ we need $n$ about $12370$
– Ross Millikan
Dec 24 at 15:46
1
1
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
True, but also note that this is basically optimal; within the constraints given by OP, $H_n$ is the "fastest" way to get the value down to below 1.
– Mees de Vries
Dec 24 at 15:49
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
I agree. I just thought it good to show how slow it is.
– Ross Millikan
Dec 24 at 15:51
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
In the particular case of $frac{17}{15}$ I used above, this gives $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{13 889}{720 720}$, which expands finally to $1 + frac{1}{2} + frac{1}{3} + cdots + frac{1}{16} + frac{1}{52} + frac{1}{24 853} + frac{1}{1 053 650 245} + frac{1}{3 774 608 050 827 453 840}$
– Dan Uznanski
Dec 24 at 15:56
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
Wow! Thank you very much this looks good.
– ManosL
Dec 24 at 15:59
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3051333%2fegyptian-fraction-when-numerator-is-greater-than-denominator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Convert to a mixed number first, I think.
– Dan Uznanski
Dec 24 at 15:03
To be honest I don't want my number to have the form 1 + 1+1+ 1/n1. In the final representation each 1/n for n belongs to natural numbers, should be appeared one time.
– ManosL
Dec 24 at 15:08
Right, it'd be, for instance, 17/5 = 3 + 1/3 + 1/15
– Dan Uznanski
Dec 24 at 15:10
I don't want that too
– ManosL
Dec 24 at 15:11
Norm is to let the integer part be a single term, with denominator $1$ as it were. Thus if you ask Wolfram alpha for the egyptian fraction representation of $frac 72$ it will return $3+frac 12$.
– lulu
Dec 24 at 15:26