WebThe correct option is A 28. 45 =32×5. Hence, we need to count the number of 3^2's and 5's that can be made out of 123!. Number of 3's = 41 + 13 + 4 + 1 = 59. Number of 5's =24 + 4 = 28. The required answer is the lower of the two (viz. 28 and 59)Hence, option (a) 28 is correct. Suggest Corrections. 0. Web29 de jun. de 2013 · 12. Change res = (int)Math.pow (res, 2); to res *= 2; This will return the next power of 2 greater than res. The final result you are looking for will therefore finally be res / 2 after the while has ended. To prevent the code from overflowing the int value space you should/could change the type of res to double/long, anything that can hold ...
Facebook - 04/02/2024
Web17 de abr. de 2024 · The highest power of 5 that divides 50! is ⌊ 50 5 ⌋ + ⌊ 50 5 2 ⌋ = 10 + 2 = 12, similarly dividing through by 5 repeatedly. So 50! = k ⋅ 2 47 ⋅ 5 12, where k is not divisible by either 2 or 5. Clearly we can also write this as 50! = k ⋅ 2 35 ⋅ 10 12 - and again k is coprime to both 2 and 10. Web19 de dez. de 2024 · Prime Factors of 12 are 2 and 3. Your analysis of highest power depends on the larger prime factor is absolutely correct, but in this problem the power of … how does an hr team become strategic
CAT Questions - Number Theory: Factorial, 2IIM CAT 2024 online …
WebHighest power of two that divided $3^{1024} ... maximum power of $2$ that can divide $3^{1024} – 1$ is $12$. elementary-number-theory; Share. Cite. Follow edited Oct 14, 2016 at 20:12. Gottfried Helms. 34.2k 3 3 gold badges 64 64 silver badges 140 140 bronze badges. asked Oct 4, 2012 at 9:53. Arpit Bajpai Arpit Bajpai. Web27 de dez. de 2012 · To get the highest power of 2 that divides a given number, you can do the following two steps: Write the number in binary form. For example, if the number is 168, write 10101000. Strike off all the bits before … Web3 de jul. de 2024 · Solution: The formula for 122!'s number of 3s is 40+13+4+1=58. The sum of the 2s in 122! is 61 + 30 + 15 + 7 + 3+1 = 117. The quotient of 117 /2 = 58 is therefore equivalent to the quantity of. Of the two, 58 or 58, we must select the lowest one. thus they are both equal. Hence the highest power of 12 that completely divides 122 is 2. how does an ftp work