login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Characteristic function of A324721: a(n) = 1 if 2*A156552(n) > A323243(n), and 0 otherwise.
5

%I #6 Mar 12 2019 22:23:49

%S 0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,

%T 0,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,

%U 1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1

%N Characteristic function of A324721: a(n) = 1 if 2*A156552(n) > A323243(n), and 0 otherwise.

%H Antti Karttunen, <a href="/A324732/b324732.txt">Table of n, a(n) for n = 1..10000</a> (based on Hans Havermann's factorization of A156552)

%H <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>

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

%H <a href="/index/Pri#prime_indices">Index entries for sequences computed from indices in prime factorization</a>

%F a(n) = 1 if A323244(n) is positive, and 0 otherwise.

%F For n > 1, a(n) = A294934(A156552(n)).

%o (PARI) A324732(n) = ((2*A156552(n))>A323243(n));

%Y Cf. A156552, A294934, A323243, A323244, A324721, A324731.

%K nonn

%O 1

%A _Antti Karttunen_, Mar 12 2019