A336478 Lexicographically earliest sequence of distinct positive terms such that the sum of two consecutive terms has distinct digits in primorial base.
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
Examples
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)
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, Scatterplot of the first 1000000 terms
- Rémy Sigrist, PARI program for A336478
- Index entries for sequences related to primorial base
Programs
-
PARI
See Links section.
Comments