Auto number field specific to account

Auto number field specific to account

I would like to generate an auto number for each potential created for an account so we have a contiguous  project number.

i.e. account 12345 project 001, 002 ,003 etc.

Unable to discover a way to achieve this - any suggestions welcome.

Tony