login
A068158
a(n) = floor(n!/R(n)!), where R(n) = digit reversal of n (A004086).
0
1, 1, 1, 1, 1, 1, 1, 1, 1, 3628800, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1216451004088320000, 106661318400, 1, 0, 0, 0, 0, 0, 0, 0, 44208809968698509772718080000000, 1320509264105545113600000, 10178348544000, 1, 0, 0, 0, 0, 0, 0
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
Cf. A004086.
Sequence in context: A118813 A127229 A269128 * A011521 A321846 A226889
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Feb 24 2002
STATUS
approved