login
A365769
Lexicographically earliest permutation of the prime numbers such that a(n) - [the next digit] is a nonprime number and a(n) - [the next digit] >= 0.
3
2, 11, 3, 23, 5, 13, 7, 17, 19, 31, 37, 29, 41, 53, 43, 47, 59, 71, 61, 67, 73, 79, 97, 101, 83, 89, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 307, 211, 223, 227, 229, 311, 233, 239, 241, 313, 317, 251, 257
OFFSET
1,1
COMMENTS
Is this sequence finite?
EXAMPLE
a(1) = 2 and 2 - 1 = 1 (nonprime);
a(2) = 11 and 11 - 3 = 8 (nonprime);
a(3) = 3 and 3 - 2 = 1 (nonprime);
a(4) = 23 and 23 - 5 = 18 (nonprime);
a(5) = 5 and 5 - 1 = 4 (nonprime); etc.
CROSSREFS
Cf. A365768.
Sequence in context: A322761 A113736 A241596 * A339616 A073331 A109858
KEYWORD
nonn,base
AUTHOR
Eric Angelini, Sep 18 2023
EXTENSIONS
Data corrected and extended by David A. Corneth, Sep 18 2023
STATUS
approved