login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A317594
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).
1
999, 1000, 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046
OFFSET
1,1
LINKS
EXAMPLE
a(1) = 999 added to 1 (the reshaped integer 1000 without its last two digits) is 1000;
a(2) = 1000 added to 1 (the reshaped integer 1001 without its last two digits) is 1001;
...
a(6517) = 380880 added to 381 [the reshaped integer a(6518) = 381261 without its last three digits] is indeed 381261 = a(6518).
CROSSREFS
Cf. A317591 [erasing the last digit of a(n+1)], A317592 [erasing the last two digits of a(n+1)].
Sequence in context: A235165 A259505 A372046 * A226752 A043527 A117720
KEYWORD
nonn,base
AUTHOR
STATUS
approved