Talk:Trailing zero

Surely there's a formula to calculate the number of trailing zeroes for n! in arbitrary bases; I can already figure out what's probably right, though not checke

Talk:Trailing zero

Factorial in arbitrary bases

Surely there's a formula to calculate the number of trailing zeroes for n! in arbitrary bases; I can already figure out what's probably right, though not checked and requiring confirmation for edge cases: t(n, b) would be equal to the minimum of that-expression-you-see-there with 5 replaced with each prime factor of b, where the terms are integer-divided by the multiplicity of the prime. Or something like that.

Perhaps such a formula should be added to the article? I can't be the first one to think this out, and it seems like a useful bit of knowledge (or, well, just as useful as the factorial formula in the first place). Hppavilion1 (talk) 01:31, 21 March 2017 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.