OFFSET
1,10
COMMENTS
If n < R(n) then a(n) = 0.
If n = R(n) then n is a palindrome and a(n) = 1.
If n > R(n) then n!/R(n)! is an integer.
EXAMPLE
a(21) = 21! / 12! = 51090942171709440000/479001600 = 106661318400.
PROG
(PARI) a(n) = n!\fromdigits(Vecrev(digits(n)))!; \\ Michel Marcus, Aug 19 2024
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Feb 24 2002
STATUS
approved