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!)
A352772 a(n) = A109812(n) AND A109812(n+2) (where AND denotes the bitwise AND operator). 2
0, 2, 0, 1, 8, 0, 2, 0, 2, 8, 16, 12, 0, 6, 0, 1, 16, 1, 4, 3, 32, 17, 32, 5, 32, 13, 0, 6, 0, 2, 9, 2, 1, 2, 1, 8, 5, 64, 19, 64, 3, 4, 3, 12, 64, 36, 80, 0, 24, 0, 1, 2, 1, 2, 33, 2, 4, 2, 4, 34, 65, 48, 72, 48, 66, 48, 70, 8, 3, 8, 3, 12, 128, 28, 128, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The binary expansions of two consecutive terms of A109812 have no common 1's, but the binary expansions of two terms at distance 2 can have some common 1's; this sequence gives these common 1's.
LINKS
Rémy Sigrist, C++ program
EXAMPLE
For n = 42:
- A109812(42) = 68,
- A109812(44) = 28,
- so a(42) = 68 AND 28 = 4.
PROG
(C++) See Links section.
CROSSREFS
Sequence in context: A199459 A316649 A065329 * A108998 A356265 A309993
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, Apr 02 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 11 23:06 EDT 2024. Contains 372431 sequences. (Running on oeis4.)