|
0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
Characteristic function of A216782.
Difference between 2-adic valuations of (2*n OR sigma(n)) and (n OR (sigma(n)-n)), where OR is bitwise-OR, A003986.
|
|
LINKS
|
|
|
FORMULA
|
These are also listed by Maiga's Sequence Machine:
(End)
|
|
PROG
|
(PARI) A324903(n) = (valuation(n, 2)<valuation(sigma(n), 2));
(PARI)
(Python)
from sympy import divisor_sigma
def A324903(n): return int((~(m:=int(divisor_sigma(n)))&m-1).bit_length()>(~n&n-1).bit_length()) # Chai Wah Wu, Jul 11 2022
|
|
CROSSREFS
|
Cf. A000035, A000203, A003986, A005940, A007814, A009194, A017665, A059841, A098987, A216782, A243473, A249670, A286357, A318456, A318466, A324883, A324902, A324904, A325636, A361023, A361024.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|