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!)
A372554 a(n) = A050602(n, 2n+1). 1
0, 2, 0, 2, 0, 4, 2, 2, 0, 2, 0, 4, 2, 3, 2, 2, 0, 2, 0, 2, 0, 6, 4, 4, 2, 2, 2, 3, 2, 3, 2, 2, 0, 2, 0, 2, 0, 4, 2, 2, 0, 2, 0, 6, 4, 4, 4, 4, 2, 2, 2, 2, 2, 5, 3, 3, 2, 2, 2, 3, 2, 3, 2, 2, 0, 2, 0, 2, 0, 4, 2, 2, 0, 2, 0, 4, 2, 3, 2, 2, 0, 2, 0, 2, 0, 8, 6, 6, 4, 4, 4, 4, 4, 4, 4, 4, 2, 2, 2, 2, 2, 4, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
PROG
(PARI)
A050602sq(x, y) = if(!bitand(x, y), 0, 1+A050602sq(bitxor(x, y), 2*bitand(x, y)));
A372554(n) = A050602sq(n, n+n+1);
CROSSREFS
Cf. A022340 (positions of 0's), A050602.
Cf. A002450 (seems to give the positions of records).
Cf. also A329603.
Sequence in context: A238763 A029186 A283023 * A288182 A072680 A067770
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 05 2024
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 July 11 14:38 EDT 2024. Contains 374234 sequences. (Running on oeis4.)