OFFSET
0,3
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..8191
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside A371944(a(n)), are:
n a(n) A371944(a(n))
-- ---- -------------
0 0 0
1 1 1
2 3 2
3 2 3
4 6 5
5 7 5
6 4 6
7 5 6
8 12 10
9 15 10
10 13 11
11 14 11
12 9 12
13 10 12
14 8 13
15 11 13
16 24 21
.
As an irregular table, sequence begins:
n n-th row A371944(T(n, k))
-- ---------------- ----------------
0 [0] 0
1 [1] 1
2 [3] 2
3 [2] 3
4 [6, 7] 5
5 [4, 5] 6
6 [12, 15] 10
7 [13, 14] 11
8 [9, 10] 12
9 [8, 11] 13
10 [24, 25, 30, 31] 21
11 [26, 27, 28, 29] 22
12 [18, 19, 20, 21] 25
13 [16, 17, 22, 23] 26
PROG
(PARI) \\ See Links section.
CROSSREFS
KEYWORD
nonn,base,tabf
AUTHOR
Rémy Sigrist, Apr 14 2024
STATUS
approved