login
A325321
a(n) = 1 if cototient of n is a square, 0 otherwise.
1
1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0
OFFSET
1
COMMENTS
Characteristic function of A063752.
FORMULA
a(n) = A010052(A051953(n)).
MATHEMATICA
Array[Boole[IntegerQ@ Sqrt[# - EulerPhi@ #]] &, 105] (* Michael De Vlieger, Apr 21 2019 *)
PROG
(PARI) A325321(n) = issquare(n-eulerphi(n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 21 2019
STATUS
approved