login
Lexicographically earliest sequence of distinct positive integers such that the concatenation of any four successive digits forms a prime.
2

%I #14 Sep 13 2020 12:55:13

%S 1,2,3,7,19,31,9,13,73,33,137,39,311,93,11,931,91,37,331,373,313,733,

%T 191,3733,319,1373,3137,333,1913,739,3119,337,193,119,3191,3739,31193,

%U 371,933,71,9311,9319,13733,13739,31913,7331,913,7333,19137,393,1193,3719,3371,9337,1931,1933,719,3373

%N Lexicographically earliest sequence of distinct positive integers such that the concatenation of any four successive digits forms a prime.

%H Jean-Marc Falcoz, <a href="/A334050/b334050.txt">Table of n, a(n) for n = 1..500</a>

%e The first terms 1, 2, 3, 7, 19, 31, 9,... form (when 4 successive digits are concatenated) the prime numbers 1237, 2371, 3719, 7193, 1931, 9319, ...

%Y Cf. A091633, A337613 (same idea, 2 successive digits), A337614 (3 successive digits).

%K base,nonn

%O 1,2

%A _Eric Angelini_ and _Jean-Marc Falcoz_, Sep 06 2020