login
Like sequence A137161 but starting from the sequence of natural number A000027.
2

%I #3 Mar 30 2012 18:53:41

%S 1,1,2,1,2,1,3,1,3,1,1,1,4,1,4,1,1,1,5,1,2,1,1,1,5,1,6,1,1,1,6,1,2,1,

%T 1,1,2,1,7,1,1,1,7,1,2,1,1,1,8,1,3,1,1

%N Like sequence A137161 but starting from the sequence of natural number A000027.

%e Step=0 -> 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,..

%e Now any "1" position insert the numbers of Step=0.

%e Step=1 -> 1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,..

%e Now any "3" positions insert the numbers of Step=1

%e Step=2 -> 1,1,2,1,2,3,3,1,4,4,5,2,5,6,6,2,7,7,8,3,8,9,9,3,10,..

%e Now any "5" positions insert the numbers of Step=2

%e Step=3 -> 1,1,2,1,2,1,3,3,1,4,4,1,5,2,5,6,6,2,2,7,7,8,3,1,8,9,..

%e And so on.

%Y Cf. A137161, A137162.

%K easy,nonn

%O 0,3

%A _Paolo P. Lava_, Jan 28 2008