login
Take a(n), reverse it, divide the biggest of the two numbers by the other one and keep only the remainder. The successive remainders, concatenated, reproduce the successive terms of the sequence, concatenated.
2

%I #17 Mar 05 2021 11:57:39

%S 25,13,14,247,250,149,52,29,1,290,12,31,275,18,188,2,157,260,38,92,24,

%T 27,190,125,146,28,3,17,104,295,592,255,83,206,285,115,137,170,71,140,

%U 26,410,109,143,21,369,193,820,138,490,15,309,289,16,106,580,601,256,82,227,4,62,23,154,168,37,32

%N Take a(n), reverse it, divide the biggest of the two numbers by the other one and keep only the remainder. The successive remainders, concatenated, reproduce the successive terms of the sequence, concatenated.

%C In reversing a number, leading zeros are erased. Palindromes in base 10 leave 0 as remainder.

%C This is the lexicographically earliest sequence of distinct positive terms with this property.

%H Carole Dubois, <a href="/A342114/b342114.txt">Table of n, a(n) for n = 1..4999</a>

%e a(1) = 25, which reversed is 52; 52/25 leaves a remainder 2;

%e a(2) = 13, which reversed is 31; 31/13 leaves a remainder 5;

%e a(3) = 14, which reversed is 41; 41/14 leaves a remainder 13;

%e a(4) = 247, which reversed is 742; 742/247 leaves a remainder 1;

%e a(5) = 250, which reversed is 52 (leading zeros are erased); 250/52 leaves a remainder 42;

%e a(6) = 149, which reversed is 941; 941/149 leaves a remainder 47;

%e a(7) = 52, which reversed is 25; 52/25 leaves a remainder 2; etc.

%e The successive remainders (concatenated) reproduce the (concatenated) terms of the sequence.

%Y Cf. A061467 (remainder when the larger of n and its reverse is divided by the smaller), A002113 (palindromes in base 10).

%K nonn,look,base

%O 1,1

%A _Eric Angelini_ and _Carole Dubois_, Feb 28 2021