A031044 a(n)=least k such that base 8 representation of n begins at s(k), where s=A031035.
1, 2, 3, 4, 5, 6, 7, 8, 10, 1, 14, 16, 18, 20, 22, 24, 13, 28, 2, 32, 34, 36, 38, 40, 15, 31, 46, 3, 50, 52, 54, 56, 17, 33, 49, 64, 4, 68, 70, 72, 19, 35, 51, 67, 82, 5, 86, 88, 21, 37, 53, 69, 85, 100, 6, 104, 7, 23, 39, 55, 71, 87, 103, 120, 8
Offset: 1