This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A124138 #5 Apr 19 2016 01:16:09 %S A124138 1,3,7,1,13,11,37,73,83,235,239,89,493,437,349,295,967,947,359,245, %T A124138 907,1729,3955,8527,4681,19813,18371,57277,113473,128063,362305, %U A124138 735553,411697,430219,1262875,1269821,3799045,1900825,4274903,9263593,20307745,2772313 %N A124138 a(n)= A000265(3*(a(n-1)+a(n-2))/2 +1) starting at a(1)=1, a(2)=3. %C A124138 A variant of A105801: The highest power of two is recursively removed from 3x/2+1, where x is the sum of the preceding two elements of the sequence. %e A124138 Examples which start with s(1)=1 and s(2)=2*k+1: %e A124138 1,1,1,1,1,1,1,1,1,1,1,1,..... : A000012 %e A124138 1,3,7,1,13,11,37,73,83,235,.... : this sequence %e A124138 1,5,5,1,5,5,1,5,5,1,5,5,1,5,5,1,5,5,1,5,5.... : periodic %e A124138 1,7,13,31,67,37,157,73,173,185,269,341,229,107,505,919,2137,4585,.... %e A124138 1,9,1,1,1,1,1,1,1,1,1.1.... %e A124138 1,11,19,23,1,37,29,25,41,25,25,19,67,65,199,397,895,.... : A124139 %K A124138 nonn %O A124138 1,2 %A A124138 _Yasutoshi Kohmoto_, Dec 01 2006 %E A124138 Edited and extended by _R. J. Mathar_, Jul 02 2009