login
a(n) = 2 + sum(k=1 to n) [(-1)^k A001511(k)].
1

%I #7 Oct 19 2017 03:14:26

%S 1,3,2,5,4,6,5,9,8,10,9,12,11,13,12,17,16,18,17,20,19,21,20,24,23,25,

%T 24,27,26,28,27,33,32,34,33,36,35,37,36,40,39,41,40,43,42,44,43,48,47,

%U 49,48,51,50,52,51,55,54,56,55,58,57,59,58,65,64,66,65,68,67,69,68,72

%N a(n) = 2 + sum(k=1 to n) [(-1)^k A001511(k)].

%C a(2^n) = 2^n+1.

%F a(2n+1) = A101925(n), a(2n+2) = a(2n+3)+1. - _Ralf Stephan_, Dec 28 2004

%Y Cf. A001511, A005187, A101925.

%K nonn

%O 1,2

%A _Gary W. Adamson_, Oct 28 2003

%E Edited by _Don Reble_, Nov 15 2005