OFFSET
1
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..100000
Jon Maiga, Computer-generated formulas for A324903, Sequence Machine
FORMULA
PROG
(PARI) A324903(n) = (valuation(n, 2)<valuation(sigma(n), 2));
(PARI)
A318456(n) = bitor(n, sigma(n)-n);
A318466(n) = bitor(2*n, sigma(n));
(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
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 28 2019
STATUS
approved