I factory reset my mobile phone which had also my blockchain wallet accounts ...
1. Blockchain.info wallet (web wallet): If you do not remember your wallet seeds, there is still a possibility of recovering your account by remembering your email and password "use email to get wallet ID then password to access to your account" after that save your backup words.
If you are indeed referring to blockchain.info wallet just like hugeblack's assumption
you need to remember at least
your password or
backup phrase (recovery phrase)- if you forgot your wallet ID, you can request an email reminder of your wallet login ID
then you can just login back normally to Web Wallet with that wallet ID and your password - if you forgot your password, your last option is backup phrase
you can recover your funds by using backup phrase to create new blockchain.info wallet ID (new account)