login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A323170
a(n) = 1 if (2*phi(n)) < n, 0 otherwise, where phi is Euler totient function (A000010).
4
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1
OFFSET
1
COMMENTS
Characteristic function of A054741.
MATHEMATICA
Array[Boole[2*EulerPhi[#] < #] &, 100] (* Paolo Xausa, Jul 08 2024 *)
PROG
(PARI) A323170(n) = ((2*eulerphi(n))<n);
CROSSREFS
Cf. A000010, A054741, A083254, A318875 (Inverse Möbius transform), A374134.
Sequence in context: A363915 A353671 A353672 * A379118 A215480 A143731
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 05 2019
STATUS
approved