ITEM 1 (Schroeppel): (1/3)! and (2/3)! are interexpressible. (1/4)! and (3/4)! are interexpressible. Thus these two pairs are of dimensionality one. (1/10)! and (2/10)! are sufficient to express (N/10)! for all N. (1/12)! and (2/12)! are sufficient to express (N/12)! for all N. (1/3)! and (1/4)! are sufficient to express (N/12)! for all N. Thus the three cases above are of dimensionality two. PROBLEM: Find some order to this dimensionality business. The reflection and multiplication formulas: pi Z Z! (-Z)! = --------- sin(pi Z) (N-1)/2 -NZ-1/2 (2 pi) N (NZ)! = Z! (Z-1/N)! (Z-2/N)! ... (Z-(N-1)/N)! -------------- I was under the misimpression that Mathematica had finally nailed this, but using LR[L_, N_] := Block[{$MaxExtraPrecision = N}, LatticeReduce[ Transpose[Prepend[IdentityMatrix[Length[L]], Round[10^N*L]]]]] (LR for Lattice Reduce or Linear Relation), which finds multiple solutions, unlike FindIntegerNullVector (PSLQ), to find relations among (k/12)! : In[17]:= Join[{2, 3, 5}, (Range[6]/12)!] Out[17]= {2, 3, 5, (1/12)!, (1/6)!, (1/4)!, (1/3)!, (5/ 12)!, Sqrt[\[Pi]]/2} In[18]:= LR[Log[%], 69][[1 ;; 3]] Out[18]= {{0, 6, -1, -2, 2, 3, -4, -6, 2, 3}, {-6, -2, 7, -4, 4, 0, -8, 0, 4, 0}, {-29420553, 655434586, 1447298892, -1344266042, -1749889224, 1253758671, 366295186, 83356101, -1110973039, -416024934}} In[19]:= Rest /@ %[[1 ;; 2]].Transpose[{Log[%%]}] Out[19]= {{6 Log[2] - Log[3] - 2 Log[5] + 3 Log[Sqrt[\[Pi]]/2] + 2 Log[(1/12)!] + 3 Log[(1/6)!] - 4 Log[(1/4)!] - 6 Log[(1/3)!] + 2 Log[(5/12)!]}, {-2 Log[2] + 7 Log[3] - 4 Log[5] + 4 Log[(1/12)!] - 8 Log[(1/4)!] + 4 Log[(5/12)!]}} In[20]:= First /@ Simplify[E^%] Out[20]= {(8 \[Pi]^(3/2) ((1/12)!)^2 ((1/6)!)^3 ((5/12)!)^2)/( 75 ((1/4)!)^4 ((1/3)!)^6), (2187 ((1/12)!)^4 ((5/12)!)^4)/( 2500 ((1/4)!)^8)} In[21]:= N[%] Out[21]= {1., 1.} In[22]:= MapAt[#^(1/4) &, %%, 2] Out[22]= {(8 \[Pi]^(3/2) ((1/12)!)^2 ((1/6)!)^3 ((5/12)!)^2)/( 75 ((1/4)!)^4 ((1/3)!)^6), (3 3^(3/4) (1/12)! (5/12)!)/( 5 Sqrt[2] ((1/4)!)^2)} In[23]:= Numerator[#] == Denominator[#] & /@ % Out[23]= {8 \[Pi]^(3/2) ((1/12)!)^2 ((1/6)!)^3 ((5/12)!)^2 == 75 ((1/4)!)^4 ((1/3)!)^6, 3 3^(3/4) (1/12)! (5/12)! == 5 Sqrt[2] ((1/4)!)^2} In[24]:= FullSimplify[FunctionExpand[%]] /. Gamma[z_] -> (z - 1)! Out[24]= {75 (1/4)!^4 (1/3)!^6 == 8 π^(3/2) (1/12)!^2 (1/6)!^3 (5/12)!^2, 5 Sqrt[2] (1/4)!^2 == 3 3^(3/4) (1/12)! (5/12)!} In[25]:= N[%] Out[25]= {True, True} Is this really that hard a problem? If we can "sort" these, we should move on to the higher factorials (e.g. BarnesG and Hyperfactorial), which have analogous reflection and tuplication formulæ. gosper.org/facfun.pdf . (Recall Date 2014-03-11 02:53 FunctionExpand also appears to disunderstand the tuplication formula Product[Hyperfactorial[-(i/n) + z], {i, 0, -1 + n}] == (E^(z1/n - n*z1)*Hyperfactorial[n*z]^(1/n))/ n^((1 + 6*n*z + 6*n^2*z^2)/(12*n)) whose need it artificially creates for itself when given the Alternating Sign Matrix formula In[171]:= FunctionExpand[Product[(3 k + 1)!/(n + k)!, {k, 0, n - 1}], n > 0 && n \[Element] Integers] Out[171]= (3^(2 - 5 n + 3/2 n (1 + n)) 8^(-1 + n) (BarnesG[5/3] BarnesG[7/3])^(-2 + n) (BarnesG[8/3] BarnesG[10/3])^(1 - n) BarnesG[2/3 + n] BarnesG[1 + n] BarnesG[4/3 + n] BarnesG[2 + n]^( 2 - n) BarnesG[3 + n]^(-1 + n) Gamma[2 + n]^( 1 - n))/(BarnesG[1 + 2 n] Gamma[1 + n]) ) --rwg Old business: I was unable to reproduce that -2=-1 hypergeometric mess for Wolfram's troubleshooters. Now I get a slightly smaller mess which seems numerically correct.
Here's a nice test case: (2/9)! (1/3)!/((1/9)! (4/9)!) == 3^(2/3)/(2 (Cos[π/9] Sec[2π/9])^(1/3)) On Tue, Mar 25, 2014 at 7:27 PM, Bill Gosper <billgosper@gmail.com> wrote:
ITEM 1 (Schroeppel): (1/3)! and (2/3)! are interexpressible. (1/4)! and (3/4)! are interexpressible.
Thus these two pairs are of dimensionality one.
(1/10)! and (2/10)! are sufficient to express (N/10)! for all N. (1/12)! and (2/12)! are sufficient to express (N/12)! for all N. (1/3)! and (1/4)! are sufficient to express (N/12)! for all N.
Thus the three cases above are of dimensionality two.
PROBLEM: Find some order to this dimensionality business.
The reflection and multiplication formulas:
pi Z Z! (-Z)! = --------- sin(pi Z)
(N-1)/2 -NZ-1/2 (2 pi) N (NZ)! = Z! (Z-1/N)! (Z-2/N)! ... (Z-(N-1)/N)! --------------
I was under the misimpression that Mathematica had finally nailed this, but using
LR[L_, N_] := Block[{$MaxExtraPrecision = N}, LatticeReduce[ Transpose[Prepend[IdentityMatrix[Length[L]], Round[10^N*L]]]]]
(LR for Lattice Reduce or Linear Relation), which finds multiple solutions, unlike FindIntegerNullVector (PSLQ), to find relations among (k/12)! :
In[17]:= Join[{2, 3, 5}, (Range[6]/12)!]
Out[17]= {2, 3, 5, (1/12)!, (1/6)!, (1/4)!, (1/3)!, (5/ 12)!, Sqrt[\[Pi]]/2}
In[18]:= LR[Log[%], 69][[1 ;; 3]]
Out[18]= {{0, 6, -1, -2, 2, 3, -4, -6, 2, 3}, {-6, -2, 7, -4, 4, 0, -8, 0, 4, 0}, {-29420553, 655434586,
1447298892, -1344266042, -1749889224, 1253758671, 366295186, 83356101, -1110973039, -416024934}}
[...]
Out[24]= {75 (1/4)!^4 (1/3)!^6 == 8 π^(3/2) (1/12)!^2 (1/6)!^3 (5/12)!^2,
5 Sqrt[2] (1/4)!^2 == 3 3^(3/4) (1/12)! (5/12)!}
In[25]:= N[%]
Out[25]= {True, True}
Is this really that hard a problem?
Perhaps. --rwg
The U.S. government announced today (Apr. 1, 2014) that they will start paying off the U.S. national debt. This will be treated as a mortgage loan with equal daily payments (except possibly the last payment which may be smaller). The principal will be taken as: $17,564,323,934,988.67 and the daily interest rate will be taken as an annual rate of 3.25% but scaled to a daily interest rate using the Gregorian calendar, (3.25% * 400/(400*365+100-3) ) rounded to 8 significant decimal digits. The equal daily payments (except for the last one) are minimal. The first payment is mostly interest except for a principal reduction (when rounded) of only one cent. The interest is computed by the actuarial method, compounded daily, based on the above daily interest rate. The first payment will be made on Apr. 2, 2014. Math questions based on the above: 1. What is the daily interest rate rounded to 8 significant digits? 2. What is the amount of the fixed daily payments? 3. When is the first day when the principal reduction rounds to 2 cents? 4. How many daily payments are made? 5. When is the loan payed off? (year month day) 6. How much was the last payment? 7. How much of the last payment was principal reduction? 8. What is the total amount of all the above payments? 9. What is total amount of all the interest?
Is this a quiz? The answers will depend very strongly on the rounding, since the interest is very nearly a half-integer number of cents. Charles Greathouse Analyst/Programmer Case Western Reserve University On Tue, Apr 1, 2014 at 11:07 AM, Greg Fee <gfee@cecm.sfu.ca> wrote:
The U.S. government announced today (Apr. 1, 2014) that they will start paying off the U.S. national debt. This will be treated as a mortgage loan with equal daily payments (except possibly the last payment which may be smaller). The principal will be taken as: $17,564,323,934,988.67 and the daily interest rate will be taken as an annual rate of 3.25% but scaled to a daily interest rate using the Gregorian calendar, (3.25% * 400/(400*365+100-3) ) rounded to 8 significant decimal digits. The equal daily payments (except for the last one) are minimal. The first payment is mostly interest except for a principal reduction (when rounded) of only one cent. The interest is computed by the actuarial method, compounded daily, based on the above daily interest rate. The first payment will be made on Apr. 2, 2014.
Math questions based on the above: 1. What is the daily interest rate rounded to 8 significant digits? 2. What is the amount of the fixed daily payments? 3. When is the first day when the principal reduction rounds to 2 cents? 4. How many daily payments are made? 5. When is the loan payed off? (year month day) 6. How much was the last payment? 7. How much of the last payment was principal reduction? 8. What is the total amount of all the above payments? 9. What is total amount of all the interest?
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun
On 01/04/14 08:50 AM, Charles Greathouse wrote:
Is this a quiz? The answers will depend very strongly on the rounding, since the interest is very nearly a half-integer number of cents.
Charles Greathouse Yes, it is just a quiz. Calculate interest first, and round, but in exact ties round up.
I get 1. 0.0088981978% 2. $1,562,908,281.19 3. August 28th 2014 4. 285,270 5. April 16 2795 6. $839,285,747.33 7. $839,211,072.67 8. $445,850,121,752,537.44 9. $428,285,797,817,548.77 Charles Greathouse Analyst/Programmer Case Western Reserve University On Tue, Apr 1, 2014 at 11:56 AM, Greg Fee <gfee@cecm.sfu.ca> wrote:
On 01/04/14 08:50 AM, Charles Greathouse wrote:
Is this a quiz? The answers will depend very strongly on the rounding, since the interest is very nearly a half-integer number of cents.
Charles Greathouse
Yes, it is just a quiz. Calculate interest first, and round, but in exact ties round up.
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun
participants (3)
-
Bill Gosper -
Charles Greathouse -
Greg Fee