Prime numbers associated functions are carried out into common module.