OFFSET
1,2
COMMENTS
The "comma-permutation" swaps the last digit of a(n) and the first digit of a(n+1) for every n. For instance [2016,2017] becomes [2012,6017] and [2016,2017,2018] turns into [2012,6012,7018].
The sequence is always extended with the smallest integer not yet present that does not lead to a contradiction.
No term ends in "0" as this "0" would start a term of the prime sequence.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000 (first 205 terms from Eric Angelini and Jean-Marc Falcoz)
Rémy Sigrist, PARI program for A228092
EXAMPLE
Under the "comma-permutation" the nine nonprime terms [1,21,12,32,33,91,14,72,111,15] become the primes [2,11,13,23,29,31,17,41,211].
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and Jean-Marc Falcoz, Jun 17 2016
STATUS
approved