%I #7 Aug 01 2018 09:22:03
%S 999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,
%T 1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,
%U 1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046
%N Lexicographically first sequence of different terms such that erasing the last three digits of a(n+1) and adding this new reshaped integer to a(n) gives back a(n+1).
%H Jean-Marc Falcoz, <a href="/A317594/b317594.txt">Table of n, a(n) for n = 1..10001</a>
%e a(1) = 999 added to 1 (the reshaped integer 1000 without its last two digits) is 1000;
%e a(2) = 1000 added to 1 (the reshaped integer 1001 without its last two digits) is 1001;
%e ...
%e a(6517) = 380880 added to 381 [the reshaped integer a(6518) = 381261 without its last three digits] is indeed 381261 = a(6518).
%Y Cf. A317591 [erasing the last digit of a(n+1)], A317592 [erasing the last two digits of a(n+1)].
%K nonn,base
%O 1,1
%A _Eric Angelini_ and _Jean-Marc Falcoz_, Aug 01 2018
|