Let n birthday in digital form, then we have an arithmetic sequence with a difference of 1, where the first term is 1, and the last term is n.
Denote the sum of the first n terms by Sn
the sum of the first n terms of an arithmetic sequence is
Sn = [(a1 + an)/2]*n
According to the question statement,
210 =[(1+n)/2]*n
210 =(n+n2)/2
420 = n+n2
n+n2-420 = 0
n2 +21n -20n -420 = 0
(n-20)*(n+21) = 0
n1 =20 n2 = -21
since the date of the month is a positive date, n = 20.
The 20th day of the month is a birthday.
Answer: 20.
Comments
Leave a comment