Menu Close

Suppose-N-is-an-n-digit-positive-integer-such-that-a-all-the-n-digits-are-distinct-and-b-the-sum-of-any-three-consecutive-digits-is-divisible-by-5-Prove-that-n-is-at-most-6-Further-show-that-s




Question Number 21994 by Tinkutara last updated on 08/Oct/17
Suppose N is an n-digit positive  integer such that  (a) all the n-digits are distinct; and  (b) the sum of any three consecutive  digits is divisible by 5.  Prove that n is at most 6. Further,  show that starting with any digit one  can find a six-digit number with these  properties.
SupposeNisanndigitpositiveintegersuchthat(a)allthendigitsaredistinct;and(b)thesumofanythreeconsecutivedigitsisdivisibleby5.Provethatnisatmost6.Further,showthatstartingwithanydigitonecanfindasixdigitnumberwiththeseproperties.
Commented by Rasheed.Sindhi last updated on 09/Oct/17
Let αabcde     α+a+b=5m.........(i)     a+b+c=5n...........(ii)     b+c+d=5p............(iii)      c+d+e=5q.............(iv)   (i)−(ii):   2−c=5m−5n        c=α−5m+5n        ⋮
Letαabcdeα+a+b=5m(i)a+b+c=5n..(ii)b+c+d=5p(iii)c+d+e=5q.(iv)(i)(ii):2c=5m5nc=α5m+5n

Leave a Reply

Your email address will not be published. Required fields are marked *