This may be a very unique project.
The type of software I need should be able to run in a wordpress blog site.
What I need written works like this, people come to my blog and in the widget section or sidebar there will be a place for people to enter up to 4 numbers. The numbers that these people choose will then be turned into a sort of lottery ticket, that they then can purchase via paypal. Once someone picks their numbers and buys a ticket. A receipt and confirmation of their ticket numbers, in the form of an email will be auto generated and sent to them.
This would need to be written as a widget and well as a page template, both working the same way.
I uploaded a picture to give you an idea what something like this might look like on a website.
The winners receive prizes and trips, not money. If you understand what I am trying to do and have an idea of how to build something like this, please do not hesitate to contact me.