OFFSET
1,6
LINKS
PROG
(PARI)
A318466(n) = bitor(2*n, sigma(n));
(Python)
from sympy import divisor_sigma
def A324904(n): return (~(m:=n<<1|int(divisor_sigma(n))) & m-1).bit_length() # Chai Wah Wu, Jul 01 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 28 2019
STATUS
approved