Serving the Quantitative Finance Community

Search found 11 matches

by xanuda
January 17th, 2005, 11:28 am
Forum: Brainteaser Forum
Topic: Two-part geometry brainteaser (easy / difficult)
Replies: 19
Views: 166354

Two-part geometry brainteaser (easy / difficult)

Easy: (13,13,10) = (8,15,17) EDIT: Wrong indeed, thank you, Paolo.
by xanuda
January 14th, 2005, 6:22 pm
Forum: Brainteaser Forum
Topic: The Great Coin Change
Replies: 5
Views: 165081

The Great Coin Change

<t>Sashka,Lambert's bound is the following result. Consider a homogeneous linear equation in nonnegative integers a1 x1 + ... + an xn = 0 The set of solutions is closed under addition. There are solutions which can be represented as a nontrivial sum of other solutions and there are primitive solutio...
by xanuda
January 8th, 2005, 5:51 pm
Forum: Brainteaser Forum
Topic: The Great Coin Change
Replies: 5
Views: 165081

The Great Coin Change

Yes, that's it!It is not even necessary for Tomania to have only one denomination. The bound is true if A is the highest denomination of Tomanian coins. I know this result as Lambert's bound from integer programming (for Jean-Luc Lambert).
by xanuda
January 8th, 2005, 1:40 pm
Forum: Brainteaser Forum
Topic: The Great Coin Change
Replies: 5
Views: 165081

The Great Coin Change

<t>Two countries, Oisterlich and Tomania have common currency but different coinage. Oisterlich monetary system has m coins of denominations B1 < B2 < ... < Bm (due to high inflation rate B1 > 1).Tomania makes coins of single denomination A (what would you expect from a totalitarian state).Shopkeepe...
by xanuda
January 6th, 2005, 6:04 pm
Forum: Brainteaser Forum
Topic: Power and figures
Replies: 8
Views: 167789

Power and figures

<t>Ok, ok, not only was there an error in my writing, but it was also incomprehensible altogether.And comparing it with Tomfr's solution, where given a number of the form 10^1999*A + B, where B has no zeros, 10^1999*A is subtracted off, the latter is certainly nicer.Tomfr, could you tell where does ...
by xanuda
December 19th, 2004, 6:29 pm
Forum: Brainteaser Forum
Topic: Power and figures
Replies: 8
Views: 167789

Power and figures

Thank you, I have to correct this mistake. The intended definition of Z(x) is the position of the RIGHTmost zero counted from the RIGHT, starting from 0, so that Z(512) = 3, Z(4096) = 2,Z(11111101) = 1, Z(2^17) = 2 and Z(2^17 * 26) = Z(3407872) = 4.
by xanuda
December 18th, 2004, 1:07 am
Forum: Brainteaser Forum
Topic: Power and figures
Replies: 8
Views: 167789

Power and figures

<t>We shall fight them one by one!As Tomfr says, N is equal to 2^1999. Let K(x) be the number of digits in the decimal representation of x and let Z(x) be the position of the rightmost zero in the decimal representation of x counted from the right[*] starting from 0, so K(1024) = 4 and Z(1024) = 2, ...
by xanuda
December 17th, 2004, 11:32 pm
Forum: Brainteaser Forum
Topic: A pigeonhole principle problem
Replies: 8
Views: 168757

A pigeonhole principle problem

<t>A more of an avian proof.Let's prove by induction on n that if n positive numbers sum up to Q, where n <= Q <= 2n - 2, then for any K, such that 1 <= K <= Q, there is a subsetthat sums up to K.For n = 1 the statement is trivially true, since 0 is not a positivenumber.To prove the induction step, ...
by xanuda
November 23rd, 2004, 3:57 am
Forum: Programming and Software Forum
Topic: Google does academic searches now
Replies: 9
Views: 170350

Google does academic searches now

It is definitely more responsive than citeseer.ist.psu.edu and indexes stuff beyond mathematics/computer science.The only feature of citeseer that I miss is the citation contexts.
by xanuda
November 23rd, 2004, 3:41 am
Forum: Programming and Software Forum
Topic: Software Source/Build Server
Replies: 7
Views: 170037

Software Source/Build Server

<t>This does not seem to be mentioned before.If the main load on the server is going to be C++ compilation, then having two or four processors is likely to improve performance almost proportionally to the number of processors. Such configuration may also pay back if the machine will run several nume...
by xanuda
November 23rd, 2004, 1:01 am
Forum: Brainteaser Forum
Topic: blue eyes
Replies: 9
Views: 174321

blue eyes

<t>In refinement of the preceding post by AaronLet p, q and r be the proportions of UU, UR and RR individuals in the population respectively, then in the next generation we haver' = (r+ q/2)^2, p' = (p+q/2)^2 and q' = pq + rq + 2pr + q^2/2And certainly, p + q + r = 1. The set of solutions is an alge...