f n is a positive integer, let s(n) denote the integer obtained by removing the last digit of n and placing it in front. For example, s(731) = 173. What is the smallest positive integer n ending in 6 satisfying s(n) = 4n?. Please do not add white space around the answer
Answers
Answered by
0
153846 is the smallest number, which when multiplied by 4 gives 615384. Also, 615384 is the number which is formed by shifting 6 in 153846 from end to beginning. Ya, it's the smallest number!!
Answered by
0
Let n=10a+6, and a has d digits.
S(n)=4n⟹6×10^d+a=4n=4(10a+6)
⟹
6×10^d−24=39a
⟹
2×10^d−8=13a
2×10^d≡8(mod13)
10^d≡4(mod13),(2,13)=1
10^5≡4(mod13)
and 5 is the minimum number to fulfill this.
a=2×10^5−813=15384
and n=15384×10+6=153846
Similar questions