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!)
A317837 a(n) = Sum_{d|n, d<n} A002487(d). 7

%I #7 Aug 10 2018 09:06:14

%S 0,1,1,2,1,4,1,3,3,5,1,7,1,5,6,4,1,10,1,9,6,7,1,10,4,7,7,9,1,16,1,5,8,

%T 7,7,17,1,9,8,13,1,20,1,13,14,9,1,13,4,15,8,13,1,22,9,13,10,9,1,26,1,

%U 7,18,6,9,22,1,13,10,23,1,24,1,13,17,17,9,26,1,17,15,13,1,34,9,15,10,19,1,40,9,17,8,11,11

%N a(n) = Sum_{d|n, d<n} A002487(d).

%H Antti Karttunen, <a href="/A317837/b317837.txt">Table of n, a(n) for n = 1..16384</a>

%H <a href="/index/St#Stern">Index entries for sequences related to Stern's sequences</a>

%F a(n) = Sum_{d|n, d<n} A002487(d).

%F a(n) = A317838(n) - A002487(n).

%F a(n) = A001222(A293216(n)).

%o (PARI)

%o A002487(n) = { my(a=1, b=0); while(n>0, if(bitand(n, 1), b+=a, a+=b); n>>=1); (b); }; \\ From A002487

%o A317837(n) = sumdiv(n,d,(d<n)*A002487(d));

%Y Cf. A002487, A293216, A317838, A317839, A317840, A317841, A317843.

%K nonn

%O 1,4

%A _Antti Karttunen_, Aug 09 2018

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 12:29 EDT 2024. Contains 375764 sequences. (Running on oeis4.)