Does anyone know how long after a drug comes out that it will be available as a generic?

It is random due to a loop hole in the law allowing for additional years before it can be produced generically.
FYI, I just recieved a paper on LEF via mail with info on their new online pharmacy.
The prices look great.