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!)
A324658 a(n) = n - A324659(n), where A324659(n) is half of bitwise-AND of 2*n and sigma(n). 5
1, 2, 1, 4, 4, 0, 3, 8, 9, 2, 9, 0, 8, 2, 3, 16, 16, 0, 17, 0, 5, 4, 19, 0, 16, 10, 11, 0, 16, 26, 15, 32, 33, 32, 35, 0, 36, 32, 35, 0, 40, 10, 41, 4, 8, 10, 39, 0, 33, 16, 19, 4, 36, 2, 19, 0, 17, 18, 33, 40, 32, 14, 11, 64, 65, 2, 65, 64, 69, 6, 67, 8, 72, 66, 65, 8, 77, 10, 71, 0, 65, 64, 81, 4, 65, 20, 67, 0, 80 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = n - A324659(n) = n - A318468(n)/2 = n - ((2*n AND sigma(n))/2).
MATHEMATICA
Array[# - BitAnd[2*#, DivisorSigma[1, #]]/2 &, 100] (* Paolo Xausa, Mar 13 2024 *)
PROG
(PARI) A324658(n) = (n-(bitand(2*n, sigma(n))/2));
CROSSREFS
Cf. A324652 (positions of zeros).
Sequence in context: A036069 A338846 A009477 * A105568 A335830 A004175
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Mar 14 2019
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 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)