An easy way to genaret pan number