PSN to Permutation Help Wanted



If you read every single byte sent to usenet, you'll know that I've been playing around with 6/49 lottery forecasting using systems based on magic squares.

My aim is to produce a vanilla set of weights which will work in most circumstances, and hopefully enable me to make small, regular profits by betting on single numbers at bookmakers. The latest version is showing signs of promise in that respect, but hasn't yet been fully loaded.

Running the partial system against historical data, one thing has struck me - when the weightings go wrong, their wrongliness rather exceeds the rightliness when they go right. Extrapolating from the data I have, I think it might be possible to build a system which produces a 5-match approximately every 1000 draws. (A quick scan of recent UK draws suggests an average 5-match prize of just under £2000).

Part of the process of building such a system involves some extreme tuning for wrongliness, and to that end I need a algorithm for generating every permutation of a large pool of numbers (I'm currently playing with 59) indexed back to its permutation serial number, in the same way as Duncan published an algorithm for generating combinations from combination serial numbers. Can anyone supply such an algorithm?

(Yes, I realise that cycling through 59! permutations is probably way beyond my present computing power, but I'll worry about that later.)

Thanks for your help,

Evil Nigel

(PS - I can't resist a little trumpet blowing - the combined measure of my Ontario Pick-3 Antichrist trial crept past 5 SDs better than expectation after yesterday's draw. I'll try to update the web page in the next few days.)

.



Relevant Pages

  • Re: Does this so-called "draw problem" actually exist?
    ... the result of some aberrant playing style. ... Playing in a way that produces lots of draws is optimal during ... the quality of the games - faster time control, ...
    (rec.games.chess.misc)
  • Re: Does this so-called "draw problem" actually exist?
    ... the result of some aberrant playing style. ... Playing in a way that produces lots of draws is optimal during ... for tournaments, and that will likely carry over into ...
    (rec.games.chess.misc)
  • Re: Fischer, Karpov and The Usual Suspects
    ... then Karpov should have said no and kept playing .. ... agreed draws. ... rules explicitly forbidding this-- so long as ... One of the reasons top players chalk up ...
    (rec.games.chess.misc)
  • An Extension to the Travelling Tournament problem
    ... annealing algorithm. ... In this situation I have to ensure that when one team is playing at ... and that one plays in division 3 and the other in division 2. ... My algorithm starts with a feasible schedule, ...
    (comp.ai)
  • E[ln(d(x))]
    ... My first post here: hope it's an appropriate place to ask this question. ... I'm playing with a likelihood function for use in an EM algorithm. ...
    (sci.stat.math)