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!)
A307314 Number of divisors d of 2n such that adding d to 2n in binary requires no carries. 1
1, 2, 1, 3, 2, 3, 1, 4, 2, 3, 1, 5, 1, 2, 1, 5, 2, 5, 1, 5, 2, 2, 1, 7, 2, 2, 2, 4, 1, 3, 1, 6, 2, 4, 1, 7, 2, 3, 1, 7, 2, 4, 1, 3, 2, 2, 1, 9, 1, 4, 2, 3, 1, 4, 1, 6, 1, 2, 1, 6, 1, 2, 1, 7, 4, 6, 1, 6, 2, 3, 1, 10, 2, 3, 1, 4, 1, 3, 1, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Equivalently, number of numbers d such that d|2n and d AND 2n = 0.
First differences of either bisection of A325123.
A001511(n) <= a(n) <= A000005(n).
LINKS
FORMULA
a(p) = 1 + [p is in A247068] for p prime, where [] is the Iverson bracket.
PROG
(PARI) a(n) = sumdiv(2*n, d, bitand(d, 2*n) == 0); \\ Michel Marcus, Apr 02 2019
CROSSREFS
Sequence in context: A159918 A278573 A108663 * A057940 A097285 A057432
KEYWORD
nonn
AUTHOR
Charlie Neder, Apr 02 2019
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 02:29 EDT 2024. Contains 372720 sequences. (Running on oeis4.)