1/3 of the cookies are butter cookies. 1/6 of the cookies are iced sugar cookies. 3/8 of the cookies are chocolate chip cookies. The rest of the cookies are oatmeal cookies. How many cookies are oatmeal cookies?

The total fraction of cookies that are either butter cookies, iced sugar cookies, or chocolate chip cookies is 1/3 + 1/6 + 3/8 = 4/8 + 2/8 + 3/8 = 9/8

The remaining fraction of cookies that are oatmeal cookies is 8/8 - 9/8 = 1/8 of the total number of cookies.
Since 1/8 is the remaining fraction, that means there are 1/8 * n = <<1/8=0.125>>0.125n oatmeal cookies.
Thus, there are 0.125n = <<0.125=12.5>>12.5 oatmeal cookies out of n cookies.
Since the number of cookies must be a whole number, the nearest whole number close to 12.5 is 13, so there are 13 oatmeal cookies. Answer: \boxed{13}.

To find out how many cookies are oatmeal cookies, we need to calculate the remaining fraction of cookies.

The fraction of butter cookies is 1/3.
The fraction of iced sugar cookies is 1/6.
The fraction of chocolate chip cookies is 3/8.

To find the fraction of oatmeal cookies, we need to subtract the sum of the fractions of the different types of cookies from 1 (since the total should add up to 1).

1 - (1/3 + 1/6 + 3/8) = 1 - (8/24 + 4/24 + 9/24)
= 1 - (21/24)
= 1 - 7/8
= 1/8

Therefore, 1/8 of the cookies are oatmeal cookies.

To find out how many cookies are oatmeal cookies, we need to subtract the proportion of butter, iced sugar, and chocolate chip cookies from 1 (or 100%).

First, let's find the combined proportion of butter, iced sugar, and chocolate chip cookies:

1/3 (butter) + 1/6 (iced sugar) + 3/8 (chocolate chip) = 8/24 + 4/24 + 9/24 = 21/24

Now, let's find the proportion of oatmeal cookies:

1 (total proportion) - 21/24 (combined proportion) = 24/24 - 21/24 = 3/24

The proportion 3/24 represents the oatmeal cookies. To get the actual number of oatmeal cookies, you'll need to know the total number of cookies.