Re: problem 065
Posted: Sat Mar 22, 2014 9:23 am
A library is a set of routines to handle specific tasks, often in a separate file.
bigints are big integers (numbers).
bigints are big integers (numbers).
A website dedicated to the puzzling world of mathematics and programming
https://projecteuler.chat/
It is just there to indicate that the pattern shown in the first numbers continues. It shows what an arbitrary section of the list would look like. Here are some other examples of this notation:Junglemath wrote: Fri Jan 31, 2020 9:02 am In the problem statement it lists 2k as one of the components of the continued fraction, but nowhere is it stated what k is. Help?
So is the pattern that they are trying to conveyjaap wrote: Fri Jan 31, 2020 9:31 amIt is just there to indicate that the pattern shown in the first numbers continues. It shows what an arbitrary section of the list would look like. Here are some other examples of this notation:Junglemath wrote: Fri Jan 31, 2020 9:02 am In the problem statement it lists 2k as one of the components of the continued fraction, but nowhere is it stated what k is. Help?
{1,3,5,7,...,2k+1,...}
{1,2,4,8,...,2^k,...}
{1,10,1,20,1,30,1,40,...,1,10k,...}
Exactly.Junglemath wrote: Fri Jan 31, 2020 9:51 amSo is the pattern that they are trying to conveyjaap wrote: Fri Jan 31, 2020 9:31 amIt is just there to indicate that the pattern shown in the first numbers continues. It shows what an arbitrary section of the list would look like. Here are some other examples of this notation:Junglemath wrote: Fri Jan 31, 2020 9:02 am In the problem statement it lists 2k as one of the components of the continued fraction, but nowhere is it stated what k is. Help?
{1,3,5,7,...,2k+1,...}
{1,2,4,8,...,2^k,...}
{1,10,1,20,1,30,1,40,...,1,10k,...}
1, 2, 1, 1, 4, 1, 1, 6, 1, 1, 8, ...
i.e. two 1s followed by the next even integer?
Nice. Thanks.jaap wrote: Fri Jan 31, 2020 12:44 pmExactly.Junglemath wrote: Fri Jan 31, 2020 9:51 amSo is the pattern that they are trying to conveyjaap wrote: Fri Jan 31, 2020 9:31 am
It is just there to indicate that the pattern shown in the first numbers continues. It shows what an arbitrary section of the list would look like. Here are some other examples of this notation:
{1,3,5,7,...,2k+1,...}
{1,2,4,8,...,2^k,...}
{1,10,1,20,1,30,1,40,...,1,10k,...}
1, 2, 1, 1, 4, 1, 1, 6, 1, 1, 8, ...
i.e. two 1s followed by the next even integer?
BTW, finite continued fractions are always rationals, and infinitely long continued fractions are always irrationals. So it is no surprise that e has an infinite continued fraction.
Periodic continued fractions (i.e. those that eventually repeat) are rational square root expressions, or rather, they are roots of a quadratic polynomial with rational coefficients. So it is again no big surprise that e's continued fraction does not repeat.
But it is surprising that e's continued fraction has a pattern to it at all.
Did you mmean Pi, rather than e? E's has a pattern (as shown in this thread), whereas Pi's is patternless.jaap wrote: Fri Jan 31, 2020 12:44 pm But it is surprising that e's continued fraction has a pattern to it at all.
I'm saying that you would not expect a pattern for e, so it is surprising that there is one.
Thanks, although isn't this considered a slight spoiler?hk wrote: Mon Feb 03, 2020 2:14 pm Here's some reading stuff:
https://math.stackexchange.com/question ... raction-al