OFFSET
0,3
COMMENTS
There is a large number of sequences b, related to binary expansion of n (A007088), for which it holds that b(n) = b(a(n)) for all n >= 0 (or n >= 1). For example, we have:
For all i, j:
For all i, j > 0:
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..16383
Antti Karttunen, Data supplement: n, a(n) computed for n = 0..65537
FORMULA
a(n) = min(n, A057889(n)).
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jan 12 2020
STATUS
approved