The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A351964 The 2-adic valuation of A109812(n); The exponent of the highest power of 2 dividing A109812(n). 4
0, 1, 2, 0, 3, 0, 1, 4, 1, 0, 1, 2, 0, 1, 5, 0, 3, 0, 2, 0, 2, 0, 3, 0, 1, 0, 4, 0, 6, 1, 0, 1, 0, 1, 0, 1, 0, 3, 0, 5, 0, 2, 0, 2, 0, 2, 4, 0, 3, 7, 0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 0, 2, 1, 0, 1, 3, 0, 3, 0, 2, 0, 2, 6, 0, 5, 0, 4, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 2, 0, 4, 0, 1, 2, 0, 8, 0, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A007814(A109812(n)).
PROG
(PARI)
v109812 = readvec("b109812_to10e5.txt"); \\ Prepared from b-file data with gawk ' { print $2 } '
up_to = #v109812;
A109812(n) = v109812[n];
A007814(n) = valuation(n, 2);
(Python)
from itertools import count, islice
def A351964_gen(): # generator of terms
yield 0
l1, s, b = 1, 2, set()
while True:
for i in count(s):
if not (i in b or i & l1):
yield (~i&i-1).bit_length()
l1 = i
b.add(i)
while s in b:
b.remove(s)
s += 1
break
A351964_list = list(islice(A351964_gen(), 30)) # Chai Wah Wu, Jul 16 2022
CROSSREFS
Sequence in context: A133735 A238801 A095704 * A163496 A092241 A336124
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Apr 07 2022
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 May 21 19:35 EDT 2024. Contains 372738 sequences. (Running on oeis4.)