OFFSET
1,2
COMMENTS
See A302840 for a sequence with alternate digital sums instead of digital sums.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Colored scatterplot of the first 10000 terms (where the color is function of A053735(a(n)))
Rémy Sigrist, PARI program for A302839
EXAMPLE
The first terms, alongside their digital sums in bases 2 and 3, are:
n a(n) d2(a(n)) d3(a(n))
-- ---- -------- --------
1 1 1 1
2 2 1 2
3 3 2 1
4 4 1 2
5 5 2 3
6 6 2 2
7 7 3 3
8 8 1 4
9 9 2 1
10 10 2 2
11 11 3 3
12 13 3 3
13 14 3 4
14 15 4 3
15 16 1 4
16 12 2 2
17 17 2 5
18 18 2 2
19 19 3 3
20 20 2 4
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Apr 14 2018
STATUS
approved