Question 260234
Let  n = 5
     d = 1
    40 = the sum of 5 consecutive integers
Sn = n/2(2a<sub>1</sub>+(n-1)d)
40 = 5/2(2a<sub>1</sub>+(5-1)1)
40 = 5/2(2a<sub>1</sub>+4)
40 = (5/2) 2(a<sub>1</sub>+2)
40 = 5(a<sub>1</sub>+2)
8  = a<sub>1</sub>+2
6  = a<sub>1</sub>

The smallest number is 6.