OFFSET
1,2
EXAMPLE
A085427 =3,2,1,1,2,1,2,1,5,7,5,3,2,1,5,4,2,1,2,1,14,7,26,13,39,22
A(2)=1,A(1)=2 so A(2)=A(1)/2 so K(1)=1
A(5)=1,A(4)=2 but A(5)=A(2) ..........
A(21)=7,A(20)=14 A(21)=A(20)/2 and A(21)>A(2) so K(2)=7
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Pierre CAMI, Nov 15 2007
STATUS
approved