1,3
Same as A061006 except for a(4) = 0 (Wilson's Theorem). - Georg Fischer, Oct 12 2018
Table of n, a(n) for n=1..95.
a(n) = (n-1) * A010051(n). - Wesley Ivan Hurt, Oct 12 2018
(PARI) a(n) = if (isprime(n), n-1, 0); \\ Michel Marcus, Oct 12 2018
Cf. A010051, A061006, A089026.
Cf. A119690. - R. J. Mathar, Oct 16 2009
Sequence in context: A065806 A228087 A119690 * A319813 A071648 A001613
Adjacent sequences: A166257 A166258 A166259 * A166261 A166262 A166263
nonn
Mats Granvik, Oct 10 2009
approved