The number lambda(q) = 2cos(pi/q), q is an element of N, q >= 3, appears in the study of Hecke groups which are Fuchsian groups, and in the study of regular polyhedra. There are many partial results about the minimal polynomial of this algebraic number. Here we obtain the general formula and it is Mobius inversion for this minimal polynomial by means of the Dickson polynomials and the Mobius inversion theory. Moreover, we investigate the homogeneous cyclotomic, Chebychev and Dickson polynomials in two variables and we show that our main results in one variable case nicely extend to this situation. In this paper, the deep results concerning these polynomials are proved by elementary arguments. (C) 2011 Elsevier Inc. All rights reserved.