Search: id:A126792 Results 1-1 of 1 results found. %I A126792 %S A126792 0,1,2,1,3,2,2,4,3,1,3,5,3,4,2,2,4,6,2,4,5,4,3,3,3,5,7,1,3,5,3,6,5,5,4, %T A126792 4,3,4,6,4,8,2,2,4,6,2,4,7,4,6,6,6,5,5,2,4,5,4,7,5,5,9,3,4,3,5,3,7,3,3, %U A126792 5,8,3,5,7,5,7,7,7,6,6,1,3,5,3,6,5,5,8,6,3,6,10,6,4,5,5,4,6,5,4,8,4,4, 4 %N A126792 Removing the first, fourth, seventh, tenth ... term of the sequence yields the original sequence, augmented by 1. %C A126792 Inspired by the "decimation-like sequences" (or "suites du lezard", after Delahaye) of Eric Angelini. %C A126792 This sequence is a generalization of sequence A000120, which is defined recursively by a(0)=0, a(2n)=a(n) and a(2n+1)=1+a(n). Its subsequence of even term is thus the original sequence while its subsequence of odd terms yields the original sequence augmented by 1. %D A126792 Article by J-P. Delahaye in Pour la Science, mars 2007. %e A126792 Removing parenthesised terms %e A126792 (0),1,2,(1),3,2,(2),4,3,(1),3,5,(3),4,.. %e A126792 leaves %e A126792 1,2, 3,2, 4,3, 3,5, 4,.. %e A126792 which is the original sequence with 1 added to each term. %p A126792 liz:=n->if n=0 then 0 elif modp(n,3)=0 then liz(n/3) else 1+liz(n-1-floor(n/ 3)) fi; %Y A126792 Cf. A117943. %Y A126792 Sequence in context: A086415 A069013 A029281 this_sequence A097367 A130211 A102364 %Y A126792 Adjacent sequences: A126789 A126790 A126791 this_sequence A126793 A126794 A126795 %K A126792 nonn %O A126792 0,3 %A A126792 Roland Bacher (roland.bacher(AT)ujf-grenoble.fr), Feb 20 2007, Feb 26 2007 Search completed in 0.001 seconds