login
A340202
Primes followed by the difference from the next prime calculated by adding the digits of the lexicographically earliest distinct term.
0
2, 1, 3, 20, 5, 110, 7, 4, 11, 200, 13, 22, 17, 1001, 19, 40, 23, 6, 29, 1010, 31, 15, 37, 112, 41, 1100, 43, 121, 47, 24, 53, 33, 59, 2000, 61, 42, 67, 130, 71, 10001, 73, 51, 79, 202, 83, 60, 89, 8, 97, 220, 101, 10010, 103, 301, 107, 10100, 109, 310, 113
OFFSET
1,1
EXAMPLE
Prime 2 + (1) = prime 3;
prime 3 + (2+0) = prime 5;
prime 5 + (1+1+0) = prime 7;
prime 7 + (4) = prime 11;
prime 11 + (2+0+0) = prime 13;
prime 13 + (2+2) = 17; etc.
CROSSREFS
Cf. A000040 (primes), A219606.
Differences between consecutive primes: A001223, A134735, A340063.
Sequence in context: A106169 A319493 A372659 * A108353 A337894 A337892
KEYWORD
base,nonn
AUTHOR
Carole Dubois, Dec 31 2020
STATUS
approved