Some help with a continued fraction?

  • Thread starter csprof2000
  • Start date
  • Tags
    Fraction
In summary, the conversation is about finding the value of a continued fraction and whether it converges to a specific value. The speaker also mentions a simple program they wrote to calculate partial fractions and how the sequence changes when going up to odd and even numbers. They ask if there is a way to determine if the fraction converges to a specific value and if it can be found analytically. They also mention that most continued fractions do not have a closed form, but this one seems interesting. Another person mentions that the value can be expressed in terms of modified Bessel functions and there is a comment on Sloane's website about the constant being equal to sqrt(2e/pi)/erfi(1/sqrt(2))
  • #1
csprof2000
287
0
I wasn't exactly sure where to put this, so I decided to try this section. It may be more appropriate to put this in the Calculus / Analysis section... I don't know.

Can anybody tell me whether or not it's possible to find the value of the continued fraction

0 + 1 / (2 + 3 / (4 + 5 / (6 + 7 / (...))))

I wrote a relatively simple program to calculate partial fractions... when I go up to the nth odd number, I get this sequence:

1
0.2
0.428571
0.372549
0.38057
0.379654
0.379738
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732

When I go up to the nth even integer, I get:

0
0.5
0.363636
0.381579
0.379562
0.379745
0.379731
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732
0.379732

So it looks like it converges... to something.

Does anybody know of a way to (a) determine whether it actually converges to anything and (b) find this value analytically, in closed form?

Just a curiosity...

P.S. I know that most continued fractions like this don't have a closed form, I just thought this one was of interest because it seems so simple... just the numbers, you know.

Thanks!
 
Physics news on Phys.org
  • #3
Nice...
 
  • #4
There's a comment on Sloane's http://www.research.att.com/~njas/sequences/A113014 that the constant is equal to

sqrt(2e/pi)/erfi(1/sqrt(2)) - 1
 
Last edited by a moderator:

FAQ: Some help with a continued fraction?

What is a continued fraction?

A continued fraction is a mathematical expression that represents a number by breaking it down into a series of fraction components. Each fraction is added to the previous one, creating a continued sequence.

How do I calculate a continued fraction?

To calculate a continued fraction, you will need to start with a given number and then repeatedly find the reciprocal of the remaining decimal portion until you reach a whole number. The last whole number in the sequence is the final fraction component.

What is the significance of continued fractions?

Continued fractions have many applications in mathematics, including solving equations, approximating irrational numbers, and representing numbers in a unique way. They also have connections to other areas such as number theory and geometry.

Can continued fractions be infinite?

Yes, continued fractions can be infinite if the decimal portion of the original number being converted into a continued fraction repeats or if the sequence of fractions continues indefinitely.

How are continued fractions used in real-world scenarios?

Continued fractions have practical applications in fields such as engineering, physics, and finance. For example, they can be used to represent measurements or quantities that are not easily expressed in decimal form. They can also be used in algorithms for data compression and encryption.

Similar threads

Replies
5
Views
4K
Replies
4
Views
4K
Replies
2
Views
1K
Replies
9
Views
6K
Replies
2
Views
2K
Replies
2
Views
3K
Replies
28
Views
9K
Back
Top