This work is licensed under the Creative Commons Attribution 4.0 International License.
We prove a theorem which unifies some formulas, for example the counting function, of some sets of numbers including all positive integers, h-free numbers, h-full numbers, etc. We also establish a conjecture and give some examples where the conjecture holds.