By means of ab inito calculations of MP2/aug-cc-pVDZ and B3LYP/aug-cc-pVDZ methods, the optimized geometries of the (HF)n (n=1~10) are obtained. The (HF)n structure is approach to HF chainconfiguration in crystal, when number of the HF molecule is large.