OFFSET
1,1
COMMENTS
Not multiplicative: for example, a(8)=a(9)=1, but a(72)=0. - Franklin T. Adams-Watters, Sep 09 2005
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Perfect Powers.
MATHEMATICA
a[n_] := Boole[GCD @@ FactorInteger[n][[All, 2]] > 1]; a[1] = 1; Table[a[n], {n, 1, 105}] (* Jean-François Alcover, Dec 12 2011 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Oct 13 2002
STATUS
approved