OFFSET
1,2
COMMENTS
Inverse Möbius transform of n! * c(n), where c(n) is the characteristic function of primes (A010051). - Wesley Ivan Hurt, Apr 01 2025
FORMULA
a(n) = Sum_{d|n} d! * c(d), where c = A010051. - Wesley Ivan Hurt, Apr 01 2025
EXAMPLE
a(6) = 8; a(6) = Sum_{p|6} p! = 2! + 3! = 2*1 + 3*2*1 = 8.
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Feb 16 2022
STATUS
approved
