login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A318456 a(n) = n OR A001065(n), where OR is bitwise-or (A003986) and A001065 = sum of proper divisors. 12
1, 3, 3, 7, 5, 6, 7, 15, 13, 10, 11, 28, 13, 14, 15, 31, 17, 23, 19, 22, 31, 30, 23, 60, 31, 26, 31, 28, 29, 62, 31, 63, 47, 54, 47, 55, 37, 54, 55, 58, 41, 62, 43, 44, 45, 62, 47, 124, 57, 59, 55, 62, 53, 118, 55, 120, 63, 58, 59, 124, 61, 62, 63, 127, 83, 78, 67, 126, 95, 78, 71, 123, 73, 106, 123, 76, 95, 94, 79, 122, 121, 126, 83 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A003986(n, A001065(n)).
a(n) = A000203(n) - A318458(n).
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
Sequence in context: A205680 A137695 A338768 * A209085 A086799 A218388
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Aug 26 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 10:43 EDT 2024. Contains 371967 sequences. (Running on oeis4.)