Compounds having the same molecular formula but the different number of carbon atoms around the functional group are known as metamers of each other and the phenomenon is known as metamerism.
Example: C2H5−O−C2H5diethylether and CH3−O−CH2−CH2−CH3methylpropylether