OFFSET
1,4
COMMENTS
If n is prime then a(n) = 1.
If n is not a prime or the square of a prime then n divides a(n).
EXAMPLE
For n = 16 the nontrivial divisors d are 2,4 and 8, so a(16) = (16-2)*(16-4)*(16-8) = 14*12*8 = 1344.
PROG
(PARI) for(n=1, 47, d=divisors(n); print1(prod(j=2, matsize(d)[2]-1, n-d[j]), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Jul 28 2002
EXTENSIONS
Edited and extended by Klaus Brockhaus, Jul 31 2002
STATUS
approved