login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A336478
Lexicographically earliest sequence of distinct positive terms such that the sum of two consecutive terms has distinct digits in primorial base.
1
1, 3, 2, 8, 5, 9, 4, 6, 7, 12, 10, 13, 15, 11, 14, 38, 20, 32, 26, 53, 27, 25, 33, 19, 39, 40, 18, 34, 24, 28, 30, 22, 36, 16, 42, 37, 21, 31, 48, 47, 56, 23, 29, 50, 35, 17, 41, 44, 51, 49, 46, 54, 61, 43, 52, 63, 55, 45, 58, 57, 59, 60, 65, 68, 62, 71, 69
OFFSET
1,2
COMMENTS
In other words, for any n > 0, a(n) + a(n+1) belongs to A321683.
EXAMPLE
The first terms, alongside the primorial representation of a(n)+a(n+1), are:
n a(n) prim(a(n)+a(n+1))
-- ---- -----------------
1 1 (2,0)
2 3 (2,1)
3 2 (1,2,0)
4 8 (2,0,1)
5 5 (2,1,0)
6 9 (2,0,1)
7 4 (1,2,0)
8 6 (2,0,1)
9 7 (3,0,1)
10 12 (3,2,0)
11 10 (3,2,1)
12 13 (4,2,0)
13 15 (4,1,0)
14 11 (4,0,1)
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, Jul 22 2020
STATUS
approved