(49g 50g) Number of Trailing Zeros in N!
|
06-02-2022, 08:51 PM
(This post was last modified: 07-23-2022 07:32 PM by John Keith.)
Post: #1
|
|||
|
|||
(49g 50g) Number of Trailing Zeros in N!
Inspired by this program and others by member GeraldH, this program will return A027868(n), the number of trailing zeros in n!.
Using ListExt 1.3, it is reasonably small and very fast, even for numbers with over 100 digits. The program is based on the third comment in the OEIS link above. Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(49g 50g) Number of Trailing Zeros in N! - John Keith - 06-02-2022 08:51 PM
RE: (49g 50g) Number of Trailing Zeros in N! - Thomas Klemm - 06-03-2022, 02:03 AM
RE: (49g 50g) Number of Trailing Zeros in N! - John Keith - 06-03-2022, 02:05 PM
RE: (49g 50g) Number of Trailing Zeros in N! - Thomas Klemm - 06-03-2022, 03:19 PM
RE: (49g 50g) Number of Trailing Zeros in N! - John Keith - 06-03-2022, 08:52 PM
RE: (49g 50g) Number of Trailing Zeros in N! - John Keith - 06-04-2022, 06:53 PM
|
User(s) browsing this thread: 3 Guest(s)