login
Lexicographically earliest sequence of distinct positive numbers such that if we add ten successive digits the result is divisible by 10.
2

%I #7 Sep 24 2019 12:40:25

%S 1,2,3,4,5,6,7,8,9,51,23,45,67,89,512,34,56,78,95,12,345,678,951,234,

%T 567,895,123,456,789,5123,4567,8951,2345,6789,51234,5678,9512,3456,

%U 7895,1234,56789,512345,67895,12345,678951,23456,78951,234567,89512,34567

%N Lexicographically earliest sequence of distinct positive numbers such that if we add ten successive digits the result is divisible by 10.

%C The infinite string resulting from the concatenation of all terms matches the regular expression "^(1234567895)*".

%H Rémy Sigrist, <a href="/A327735/a327735.gp.txt">PARI program for A327735</a>

%H Rémy Sigrist, <a href="/A327735/a327735.png">Logarithmic scatterplot of the first 500 terms</a>

%F Apparently, a(n + 100) = a(n) * 10^10 + (a(n) mod 10^10) for any n >= 90.

%o (PARI) See Links section.

%Y See A327453 and A327733 for other variants.

%K nonn,base

%O 1,2

%A _Rémy Sigrist_, Sep 23 2019