p,p+7,p+14,.... is arithmetic sequence
Find n term and Find the smallest value of p for which 2021 is a term in the sequence.
"p,p+7,p+14,..." is arithmetic sequence
"a_1=p, a_2=p+7, a_3=p+14, d=a_2-a_1=7\\\\\na_n=2021\\\\\na_n=a_1+d(n-1)\\\\\n2021=p+7(n-1)\\\\\n2021=p+7n-7\\\\\n7n=2028-p\\\\\nn=\\frac{2028-p}{7}\\\\ n\\in N\\\\\nn=\\frac{2023+5-p}{7}\\\\\nn=289+\\frac{5-p}{7}\\\\\n5-p=7k, k\\in Z\\\\\np=5-7k\\\\\nk=0, p=5\\\\n=289\\\\\na_{289}=2021, p=5"
Comments
Leave a comment