Menu Close

find-all-6-digit-numbers-which-are-not-only-palindrome-but-also-divisible-by-495-




Question Number 83910 by redmiiuser last updated on 07/Mar/20
find all 6 digit numbers which are not  only palindrome but also divisible by 495.
findall6digitnumberswhicharenotonlypalindromebutalsodivisibleby495.
Commented by redmiiuser last updated on 08/Mar/20
CAN ANYONE   ANSWER THIS  QUESTION.
CANANYONEANSWERTHISQUESTION.
Answered by Kunal12588 last updated on 08/Mar/20
there are 11 such numbers  504405, 513315, 522225, 531135, 540045,  549945, 558855, 567765, 576675, 585585,  594495
thereare11suchnumbers504405,513315,522225,531135,540045,549945,558855,567765,576675,585585,594495
Commented by redmiiuser last updated on 08/Mar/20
GREAT
GREAT
Commented by naka3546 last updated on 08/Mar/20
Show  your  workings ,  please .
Showyourworkings,please.
Commented by Kunal12588 last updated on 08/Mar/20
i don′t think i can find it with any method.  I just used the bruteforce method.
idontthinkicanfinditwithanymethod.Ijustusedthebruteforcemethod.
Answered by redmiiuser last updated on 08/Mar/20
there is an easy way  we know   495=9×5×11  as the number must  be divisible by 495 hence  so by 9 and 5 and 11.  to be divisible by 5   the last dight must be  5 and not 0.  again for 9 the sum of  the dights must be divisi6le  by 9.  now for 11 lets take   an example.  594495   here the number is  divisible by 5 and 9.  but the number is divisible  by 11 on applying the  divisiblity trick i get this.  again in 495594  the number is divisible by  11and5and9.  but the change is   the terminal numbers  are decreased by 1   while middle ones   are increased by 1.  hence by applying  this concept we can solve
thereisaneasywayweknow495=9×5×11asthenumbermustbedivisibleby495hencesoby9and5and11.tobedivisibleby5thelastdightmustbe5andnot0.againfor9thesumofthedightsmustbedivisi6leby9.nowfor11letstakeanexample.594495herethenumberisdivisibleby5and9.butthenumberisdivisibleby11onapplyingthedivisiblitytrickigetthis.againin495594thenumberisdivisibleby11and5and9.butthechangeistheterminalnumbersaredecreasedby1whilemiddleonesareincreasedby1.hencebyapplyingthisconceptwecansolve
Commented by redmiiuser last updated on 08/Mar/20
i am sorry it must be  549945 not 495594
iamsorryitmustbe549945not495594

Leave a Reply

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