The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A342143 Take a(n), sort its digits into ascending order, divide the larger of the two numbers by the smaller and keep only the remainder: this remainder is present in a(n) as a substring of its digits. 0
10, 20, 30, 40, 50, 52, 60, 70, 80, 90, 98, 100, 105, 106, 108, 110, 120, 130, 140, 150, 160, 170, 180, 186, 190, 198, 200, 205, 220, 230, 240, 250, 251, 260, 270, 274, 280, 290, 298, 300, 302, 330, 340, 350, 360, 370, 380, 390, 398, 400, 405, 410, 440, 450, 460, 470, 480, 490, 498, 500, 502, 510, 511 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
In sorting a number, leading zeros are erased.
This is the lexicographically earliest sequence of distinct positive terms with this property.
LINKS
EXAMPLE
a(1) = 10, which sorted is 1 (leading zeros are erased); 10/1 leaves a remainder 0, which is present in a(1);
a(2) = 20, which sorted is 2 (leading zeros are erased); 20/2 leaves a remainder 0, which is present in a(2);
...
a(6) = 52, which sorted is 25; 52/25 leaves a remainder 2, which is present in a(6); etc.
MATHEMATICA
lst={}; k=1; Do[While[!StringContainsQ[ToString@k, ToString@Mod[#2, #]&@@(Sort@{k, FromDigits@Sort@IntegerDigits@k})], k++]; AppendTo[lst, k]; k++, {n, 62}]; lst (* Giorgos Kalogeropoulos, May 08 2022 *)
CROSSREFS
Cf. A090053.
Sequence in context: A031140 A095973 A299970 * A344331 A358048 A037997
KEYWORD
base,nonn
AUTHOR
Eric Angelini and Carole Dubois, Mar 01 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 12:16 EDT 2024. Contains 373173 sequences. (Running on oeis4.)