HP Forums
(39G) OEIS A027868: Trailing Zeros of a Factorial - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (39G) OEIS A027868: Trailing Zeros of a Factorial (/thread-9058.html)



(39G) OEIS A027868: Trailing Zeros of a Factorial - Gerald H - 09-12-2017 05:53 PM

The programme inserts symbolics in the Sequence App to produce the series

https://oeis.org/A027868

Code:
RECURSE(U,IFTE(N>4,U2(N)+U1(U2(N)),0),0,0)►U1(N):
CHECK 1:
RECURSE(U,INT(N/5),0,0)►U2(N):