One number is 6 more than another. The sum of the numbers is 30. Find the numbers.

n + n + 6 = 30

2n = 24

n = 12

I got that too, but since this is a puzzle, there are 2 numbers and there are none that are (12,12)

if n is 12 then n+6 is 18

To solve this problem, we can set up a system of equations using the given information.

Let's represent the first number as x and the second number as y.

From the problem, we know that "one number is 6 more than another," which can be written as:

x = y + 6

We also know that "the sum of the numbers is 30," which can be written as:

x + y = 30

Now we have a system of two equations:

x = y + 6
x + y = 30

To find the numbers, we can solve this system of equations. There are different methods we can use, such as substitution, elimination, or graphing. In this case, let's use the substitution method.

1. Start with the first equation:
x = y + 6

2. Substitute this value of x into the second equation:
(y + 6) + y = 30

3. Simplify and solve for y:
2y + 6 = 30
2y = 30 - 6
2y = 24
y = 24/2
y = 12

Now we have the value of y, which is 12.

4. Substitute the value of y back into the first equation to find x:
x = 12 + 6
x = 18

Therefore, the two numbers are 18 and 12, respectively.