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!)
A351565 Odd part of Kimberling's paraphrases: a(n) = A000265(A003602(n)). 5
1, 1, 1, 1, 3, 1, 1, 1, 5, 3, 3, 1, 7, 1, 1, 1, 9, 5, 5, 3, 11, 3, 3, 1, 13, 7, 7, 1, 15, 1, 1, 1, 17, 9, 9, 5, 19, 5, 5, 3, 21, 11, 11, 3, 23, 3, 3, 1, 25, 13, 13, 7, 27, 7, 7, 1, 29, 15, 15, 1, 31, 1, 1, 1, 33, 17, 17, 9, 35, 9, 9, 5, 37, 19, 19, 5, 39, 5, 5, 3, 41, 21, 21, 11, 43, 11, 11, 3, 45, 23, 23, 3, 47 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = A000265(A003602(n)) = A000265(1+A000265(n)).
PROG
(PARI)
A000265(n) = (n>>valuation(n, 2));
A351565(n) = A000265(1+A000265(n));
(Python)
def A351565(n): return (m:=1+(n>>(~n&n-1).bit_length()))>>(~m&m-1).bit_length() # Chai Wah Wu, Jan 03 2024
CROSSREFS
Cf. A000265, A003602, A023758 (gives the positions of 1's after its initial zero-term).
Cf. also A336698, A336699.
Sequence in context: A351347 A046643 A369180 * A254101 A349025 A348963
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 27 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 9 22:30 EDT 2024. Contains 372354 sequences. (Running on oeis4.)