this is my attempt:

let the 7 consecutive number be n, n+1, n+2, n+3, n+4, n+5, n+6

add them all together u have 7n+21

which means 7n+21 = 182

from the system we can see n is our aim as it is the smallest number

7n = 182-21

7n= 161

n =161/7

n=23

so the answer is 23

hope this helps