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!)
A352999 a(n) is the least k > 0 such that A109812(n) and A109812(n + 2*k) have different binary lengths. 2
1, 2, 1, 1, 2, 1, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 2, 1, 1, 1, 4, 2, 3, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 4, 4, 3, 3, 2, 2, 1, 1, 1, 1, 1, 4, 1, 3, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Rémy Sigrist, C++ program
FORMULA
a(n) <= A352998(n).
EXAMPLE
For n = 21:
- we have:
k bin(A109812(21+2*k))
- --------------------
0 100100
1 101000
2 100010
3 110000
4 1000000
- so a(21) = 4.
PROG
(C++) See Links section.
CROSSREFS
Sequence in context: A025430 A256972 A365708 * A280747 A110955 A211983
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 14 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 April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)