OFFSET
1,2
COMMENTS
Even digits "e" must slide "e" positions to the left; odd digits "o" must slide "o" positions to the right. Commas must stay where they are.
Maximum value for terms 1-500 is 8481315. Statistics of digits 0-9 for terms 1-500 is (0, 508, 147, 600, 180, 229, 207, 43, 212, 23). Lars Blomberg, Dec 16 2019
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..500
EXAMPLE
To understand the operation described in the Comments section, we superpose hereunder S and T, S being this sequence and T the result of the said operation:
S = 1, 12, 15, 111, 3633, 28, 9, 14, 314, 114, 611, ...
T = 2, 11, 61, 811, 1523, 43, 3, 41, 641, 311, 941, ...
The first digit "1" of S is now the first digit of 11 in T;
the second digit "1" of S is now the second digit of 11 in T;
the first digit "2" of S is now the first digit of T;
the first digit "1" of 15 in S is now the last digit of 61 in T;
the first digit "5" of S is now the second digit of 1523 in T, etc.
All terms of S are distinct and nonprimes, all terms of T are distinct and primes. The commas stayed where they were.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Lars Blomberg, Dec 12 2019
EXTENSIONS
Corrected a(55) and onwards by Lars Blomberg, Dec 16 2019
STATUS
approved