OFFSET
1,2
LINKS
MATHEMATICA
Array[BitOr[#, DivisorSigma[1, #] - #] &, 100] (* Paolo Xausa, Mar 11 2024 *)
PROG
(PARI) A318456(n) = bitor(n, sigma(n)-n);
(Python)
from sympy import divisor_sigma
def A318456(n): return n|divisor_sigma(n)-n # Chai Wah Wu, Jul 01 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Aug 26 2018
STATUS
approved