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

%I #10 Sep 23 2019 15:38:44

%S 1,2,3,4,5,6,7,41,23,45,67,49,234,56,74,9,2345,674,12,34,567,412,345,

%T 6741,23456,741,234567,492,3456,749,2345674,92,34567,4123,456,7412,

%U 345674,123,4567,4923,45674,923,456741,23456741,23456749,234567412,3456741

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

%C This sequence has interesting graphical features.

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

%H Rémy Sigrist, <a href="/A327733/b327733.txt">Table of n, a(n) for n = 1..10000</a>

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

%o (PARI) See Links section.

%Y See A327453 and A327735 for other variants.

%K nonn,look,base

%O 1,2

%A _Rémy Sigrist_, Sep 23 2019