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