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!)
A317839 Möbius transform of A002487, Stern's Diatomic sequence. 9
1, 0, 1, 0, 2, 0, 2, 0, 2, 0, 4, 0, 4, 0, 0, 0, 4, 0, 6, 0, 4, 0, 6, 0, 4, 0, 4, 0, 6, 0, 4, 0, 0, 0, 4, 0, 10, 0, 4, 0, 10, 0, 12, 0, 6, 0, 8, 0, 6, 0, 6, 0, 12, 0, 4, 0, 2, 0, 10, 0, 8, 0, -4, 0, 0, 0, 10, 0, 6, 0, 12, 0, 14, 0, 10, 0, 10, 0, 12, 0, 6, 0, 18, 0, 14, 0, 10, 0, 16, 0, 12, 0, 10, 0, 2, 0, 10, 0, 8, 0, 18, 0, 16, 0, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = Sum_{d|n} A008683(n/d)*A002487(d).
a(n) = A000010(n) - A317841(n).
PROG
(PARI)
A002487(n) = { my(a=1, b=0); while(n>0, if(bitand(n, 1), b+=a, a+=b); n>>=1); (b); }; \\ From A002487
A317839(n) = sumdiv(n, d, moebius(n/d)*A002487(d));
CROSSREFS
Sequence in context: A209457 A096577 A200213 * A137899 A369382 A293516
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 09 2018
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 September 9 10:46 EDT 2024. Contains 375764 sequences. (Running on oeis4.)