OFFSET
1,3
COMMENTS
Same as A061006 except for a(4) = 0 (Wilson's Theorem). - Georg Fischer, Oct 12 2018
FORMULA
a(n) = (n-1) * A010051(n). - Wesley Ivan Hurt, Oct 12 2018
PROG
(PARI) a(n) = if (isprime(n), n-1, 0); \\ Michel Marcus, Oct 12 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Mats Granvik, Oct 10 2009
STATUS
approved