Chemical formula of fluoroapatite
As it's been stated in the comments, both formulas are equivalent, however, I'd like to clarify the terminology and use cases for both.

$\ce{CaF2 * 3Ca3(PO4)2}$ is a formula of a formal addition compound (often used for clathrates, crystallohydrates and multiple salts). Widely used several decades ago when crystal structure of a given compound hasn't been elucidated enough to speak of exact atomic positions, hence it's often been attempted to present it as a ratio of simpler compounds packed in a crystal lattice.

$\ce{Ca5(PO4)3F}$ is a formula unit. Constituents are ordered from the most electropositive to the most electronegative groups; the ratio between them is denoted with numerical indices. By multiplying the formula unit $\ce{Ca5(PO4)3F}$ by $Z = 2$ ($Z$ is the number of chemical formula units per unit cell), you get $\ce{Ca10(PO4)6F2}$ — the content of the entire unit cell. $\ce{Ca10(PO4)6F2}$ is equal to $\ce{CaF2 * 3Ca3(PO4)2}$ in terms of stoichiometry, but the use of latter middle-dot-notation is deprecated for multiple salts as it doesn't carry additional structural information and often leads to confusion.

I think it's important to mention that not only $\ce{Ca5(PO4)3F}$, but $\ce{CaF2}$ and $\ce{Ca3(PO4)2}$ are also formula units, and not molecules!