OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
EXAMPLE
First few steps are:
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,...
n = 1; delete the last digit in the term at position 1+a(1) = 2: 2;
1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,...
n = 2; delete the last digit in the term at position 2+a(2) = 5: 6;
1,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,19,20,...
n = 3; delete the last digit in the term at position 3+a(3) = 7: 9;
1,3,4,5,7,8,10,11,12,13,14,15,16,17,18,19,20,...
n = 4; delete the last digit in the term at position 4+a(4) = 9: 2;
1,3,4,5,7,8,10,11,1,13,14,15,16,17,18,19,20,...
n = 5; delete the last digit in the term at position 5+a(5) = 12: 5;
1,3,4,5,7,8,10,11,1,13,14,1,16,17,18,19,20,...
n = 6; delete the last digit in the term at position 6+a(6) = 14: 8;
1,3,4,5,7,8,10,11,1,13,14,1,16,17,1,19,20,...
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Ctibor O. Zizka, Apr 29 2008
STATUS
approved