(33s): OEIS A8904: Last Non-zero Digit of N!
|
07-21-2022, 08:26 AM
Post: #1
|
|||
|
|||
(33s): OEIS A8904: Last Non-zero Digit of N!
Takes a real integer N from the stack & returns A8904(N) to stack.
Last non-zero digit of N! https://oeis.org/search?q=a8904&sort=&la...&go=Search Code:
Uses the sub-programme V: Takes a real integer from the stack & stores remainder on division by 5 in R & quotient in Q & returns Q to stack, leaving Y, Z & T stack levels unaltered. Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(33s): OEIS A8904: Last Non-zero Digit of N! - Gerald H - 07-21-2022 08:26 AM
|
User(s) browsing this thread: 2 Guest(s)