login
Inverse permutation to A375758.
2

%I #7 Aug 28 2024 00:54:42

%S 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,30,21,100,22,50,

%T 23,31,24,101,25,102,26,32,27,51,28,103,29,33,40,104,34,105,41,35,106,

%U 107,36,70,52,37,42,108,38,53,43,39,109,110,44,111,112,71,45

%N Inverse permutation to A375758.

%C Also, lexicographically earliest sequence of distinct positive integers such

%C that for any n > 0, the initial digit of a(n) divides n.

%H Rémy Sigrist, <a href="/A375759/b375759.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A375759/a375759.gp.txt">PARI program</a>

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%e A375758(42) = 52, so a(52) = 42.

%o (PARI) \\ See Links section.

%Y Cf. A375758.

%K nonn,base

%O 1,2

%A _Rémy Sigrist_, Aug 27 2024