Can you tell me the minimum number of bases that can be annealed?

You can anneal an oligo of any size to its target, but longer sequences will lead to more stable duplexes. A minimum of 10 bases is needed for a PCR primer to find and remain annealed to its target long enough for extension to occur. This may be a good minimum threshold to consider if you plan to make dsDNA.