![]() Volume 10, Issue 2 Articles In and Out Trott's Corner Beyond Sudoku New Products New Publications Calendar News Bulletins New Resources Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
T R O T T ' S C O R N E R
Difference Between Continued Fractions and Radix FormsThe next two functions construct a rational number (an integer in degenerate cases) from the lists of digits.
To measure the quality of a Trott constant, we compare the value of the radix form and the continued fraction. The function radixCFDifference calculates the difference.
Here again are two examples.
The function numberOfCoincidingDigits calculates the number of coinciding digits in the continued fraction and base
Here are our two examples.
Here we analyze the three sequences from the integer database.
We define another function for later use. Given a sequence, the function shortenedSequence shortens it to the minimal length that exhibits the maximal number of coinciding digits.
Here a continuation of the sequence (which does not improve) is shortened to its optimal length.
|
||||||||
About Mathematica | Download Mathematica Player © 2006 Wolfram Media, Inc. All rights reserved. |