OFFSET
1,6
COMMENTS
a(n) is equal to 1 if and only if n is a prime power; the sequence of nontrivial values of a is A064086.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..1000
MAPLE
a:= n-> (2^n-1)/mul(2^(i[1]^i[2])-1, i=ifactors(n)[2]):
seq(a(n), n=1..50); # Alois P. Heinz, Jun 09 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jens Voß, Sep 04 2001
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Mar 29 2003
STATUS
approved