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

 


A324906
Number of trailing 1-bits in the binary representation of A318466(n), where A318466(n) = 2*n OR sigma(n).
3
2, 3, 0, 4, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 6, 0, 3, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 1, 0, 0, 0, 0, 0
OFFSET
1,1
FORMULA
a(n) = A007814(1+A318466(n)).
MATHEMATICA
Array[LengthWhile[Reverse@ IntegerDigits[BitOr[2 #, DivisorSigma[1, #]], 2], # == 1 &] &, 105] (* Michael De Vlieger, Mar 30 2019 *)
PROG
(PARI)
A318466(n) = bitor(2*n, sigma(n));
A324906(n) = valuation(1+A318466(n), 2);
(Python)
from sympy import divisor_sigma
def A324906(n): return ((m:=(n<<1)|int(divisor_sigma(n)))&~(m+1)).bit_length() # Chai Wah Wu, Jul 10 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 28 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | 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 September 24 14:15 EDT 2024. Contains 376200 sequences. (Running on oeis4.)