OFFSET
0,4
LINKS
FORMULA
a(n) <= a(n+1) <= 2*a(n).
EXAMPLE
The first terms, alongside the correspond k's, are:
n a(n) k's
- ---- ----------------------
0 1 1
|
1 1 2
|
2 1 4
/ \
3 2 3 8
/ / \
4 3 6 7 16
/ / / \
5 4 12 14 15 32
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Feb 07 2021
STATUS
approved