login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A325321 a(n) = 1 if cototient of n is a square, 0 otherwise. 1

%I #7 Apr 22 2019 13:50:24

%S 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,

%T 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,

%U 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

%N a(n) = 1 if cototient of n is a square, 0 otherwise.

%C Characteristic function of A063752.

%H Antti Karttunen, <a href="/A325321/b325321.txt">Table of n, a(n) for n = 1..65537</a>

%H <a href="/index/Ch#char_fns">Index entries for characteristic functions</a>

%F a(n) = A010052(A051953(n)).

%t Array[Boole[IntegerQ@ Sqrt[# - EulerPhi@ #]] &, 105] (* _Michael De Vlieger_, Apr 21 2019 *)

%o (PARI) A325321(n) = issquare(n-eulerphi(n));

%Y Cf. A000010, A010052, A051953, A063752.

%K nonn

%O 1

%A _Antti Karttunen_, Apr 21 2019

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 19:52 EDT 2024. Contains 371963 sequences. (Running on oeis4.)