# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a101625 Showing 1-1 of 1 %I A101625 #28 May 03 2021 12:19:03 %S A101625 0,1,1,5,1,21,17,69,1,277,273,1349,257,5141,4113,16453,1,65813,65809, %T A101625 329029,65793,1381397,1118225,4538437,65537,18088213,17826065, %U A101625 88081733,16777473,335549461,268439569,1073758277,1,4295033109,4295033105 %N A101625 A bisection of the Stern-Jacobsthal numbers. %H A101625 Ivan Panchenko, Table of n, a(n) for n = 0..1000 %F A101625 a(n) = Sum_{k=0..n} (binomial(2n-k, k-1) mod 2)2^(k-1); %F A101625 a(n) = A101624(2n+1). %F A101625 a(0)=0, a(1)=1, a(n) = a(n-1) XOR (a(n-2)*4), where XOR is the bitwise exclusive-OR operator. - _Alex Ratushnyak_, May 06 2012 %F A101625 a(n+1) = Sum_{k=0..n} A106344(n,k)*4^(n-k). - _Philippe Deléham_, May 27 2012 %o A101625 (Python) %o A101625 prpr = 0 %o A101625 prev = 1 %o A101625 for i in range(99): %o A101625 current = (prev)^(prpr*4) %o A101625 print(prpr, end=',') %o A101625 prpr = prev %o A101625 prev = current %o A101625 # _Alex Ratushnyak_, May 06 2012 %Y A101625 Cf. A002450. %K A101625 easy,nonn %O A101625 0,4 %A A101625 _Paul Barry_, Dec 10 2004 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE