Right I need to pick your brains on a mathematical dilemma!!
I work for an investment bank so am dealing with numbers all the time, I need to generate a unique number run that can never have a duplicate but there are a lot of variables and that is what I am struggling to get my head round. The number can be big or small but it must be unique to any other number. References for deals get reset at the beginning of every year and that is where the numbers start to duplicate.
The variables are
Client: x,y,z etc
Counterparty: a,b,c (a counterparty can be paired with any client)
Value Date: (a date in the calendar year)
Year: so 09 would give a constant of +9 (possibility but I don’t think it would be essential)
Reference number 1,2,3….600,601 etc
Any help would be greatly apreciated
I work for an investment bank so am dealing with numbers all the time, I need to generate a unique number run that can never have a duplicate but there are a lot of variables and that is what I am struggling to get my head round. The number can be big or small but it must be unique to any other number. References for deals get reset at the beginning of every year and that is where the numbers start to duplicate.
The variables are
Client: x,y,z etc
Counterparty: a,b,c (a counterparty can be paired with any client)
Value Date: (a date in the calendar year)
Year: so 09 would give a constant of +9 (possibility but I don’t think it would be essential)
Reference number 1,2,3….600,601 etc
Any help would be greatly apreciated