This course is a modern exposition of "Duke's Theorems" which describe the distribution of representations of large integers by a fixed ternary quadratic form. It will be the occasion to introduce the students to the adelic language, the theory of automorphic forms and their associated L-functions