Let p , b ≥ 2 be two integers, and let D = p { 0 , 1 , ... , b − 1 }. It is well known that the self-similar measure μ p b , D generated by the iterated function system { τ d (x) = (p b) − 1 (x + d) } d ∈ D is a spectral measure with a spectrum Λ (p b , C) = ∑ j = 0 finite (p b) j c j : c j ∈ C = { 0 , 1 , ... , b − 1 } . In this paper, we study a class of primitive and composite numbers and their related properties. And we also explore the simple prime numbers and the properties related to their order. Based on these, let r be a positive integer, we give some conditions on the distinct prime numbers t 1 , t 2 , ... , t r such that the scaling set ∏ i = 1 r t i k i Λ (p b , C) is also a spectrum of μ p b , D for all k i ≥ 0. [ABSTRACT FROM AUTHOR]