OFFSET
1,2
COMMENTS
This sequence is a variant of A329544.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A330401
EXAMPLE
The first terms, alongside t(n), are:
n a(n) t(n)
-- ---- ----
0 N/A 0
1 1 1
2 2 3
3 3 0
4 4 4
5 5 9
6 6 3
7 8 11
8 7 4
9 18 22
10 11 11
11 9 2
12 20 22
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Dec 13 2019
STATUS
approved