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

 


A323513
a(n) = 1 if n and phi(n) share the same prime signature, 0 otherwise.
1
1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0
OFFSET
1
COMMENTS
Characteristic function for A300216.
FORMULA
a(n) = [A046523(n) == A046523(A000010(n))], where [ ] is the Iverson bracket.
PROG
(PARI)
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ From A046523.
A323513(n) = (A046523(n) == A046523(eulerphi(n)));
CROSSREFS
Cf. also A318893.
Sequence in context: A016419 A016391 A016378 * A089805 A080116 A016359
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 18 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 21 14:48 EDT 2024. Contains 376087 sequences. (Running on oeis4.)