login
a(n)=sum_{k=1..n} r(k) where r(k)=A000002(k) if A000002(k+1)=1 and r(k)=0 if A000002(k+1)=2
0

%I #2 Mar 30 2012 18:39:28

%S 0,0,2,3,3,5,5,5,7,7,7,9,10,10,12,13,13,13,15,15,17,18,18,20,20,20,22,

%T 23,23,25,26,26,28,28,28,30,30,30,32,33,33,35,35,35,37,37,39,40,40,42,

%U 43,43,43,45,45,45,47,48,48,50,50,50,52,52,52,54,55,55,57,58,58,60,60

%N a(n)=sum_{k=1..n} r(k) where r(k)=A000002(k) if A000002(k+1)=1 and r(k)=0 if A000002(k+1)=2

%K nonn

%O 1,3

%A _Benoit Cloitre_, Feb 08 2009