login
A306321
Lexicographically earliest sequence of different terms starting with a(1) = 1 such that the n-th digit of the sequence added to a(n) produces a prime.
6
1, 10, 2, 3, 4, 7, 6, 5, 8, 9, 14, 12, 13, 16, 11, 18, 20, 22, 17, 28, 30, 36, 15, 21, 19, 27, 29, 40, 24, 35, 23, 26, 31, 34, 25, 42, 32, 39, 46, 52, 38, 41, 54, 45, 44, 33, 37, 51, 43, 50, 48, 57, 56, 59, 47, 58, 60, 64, 49, 65, 62, 55, 69, 68, 71, 70, 74, 63, 53, 66, 77, 76, 75, 67, 72, 78, 79, 85, 84, 93, 97, 80, 86, 94, 82, 92, 88, 99, 98, 96, 61, 103, 81, 102, 90, 104, 73, 108, 100, 105, 106, 122
OFFSET
1,2
LINKS
EXAMPLE
The sequence starts with 1,10,2,3,4,7,6,5,8,9,14,12,13,16,11,18,20,22,...
The 1st digit (1) added to a(1) = 1 produces the prime 2;
the 2nd digit (1) added to a(2) = 10 produces the prime 11;
the 3rd digit (0) added to a(3) = 2 produces the prime 2;
the 4th digit (2) added to a(4) = 3 produces the prime 5;
the 5th digit (3) added to a(5) = 4 produces the prime 7;
the 6th digit (4) added to a(6) = 7 produces the prime 11;
the 7th digit (7) added to a(7) = 6 produces the prime 13;
the 8th digit (6) added to a(8) = 5 produces the prime 11;
etc.
CROSSREFS
Cf. A306311 where the same idea is used.
Sequence in context: A010175 A363839 A323421 * A160136 A333478 A336954
KEYWORD
base,nonn
AUTHOR
STATUS
approved