OFFSET
1,3
COMMENTS
In other words, f_n(a(n)) = n.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..8192
Rémy Sigrist, PARI program for A308093
FORMULA
EXAMPLE
The first terms, alongside the binary representations of n and the first terms of f_n, are:
n a(n) bin(n) bin(f_n)
-- ---- ------ -----------------------------------------
1 1 1 1,...
2 1 10 10,...
3 2 11 1,11,...
4 1 100 100,...
5 3 101 10,1,101,...
6 3 110 1,10,110,...
7 3 111 1,11,111,...
8 1 1000 1000,...
9 3 1001 100,1,1001,...
10 2 1010 10,1010,...
11 8 1011 10,1,110,11,101,1101,11011,1011,...
12 3 1100 1,100,1100,...
13 8 1101 1,10,11,101,110,1110,11101,1101,...
14 5 1110 1,110,11,10,1110,...
15 4 1111 1,11,111,1111,...
16 1 10000 10000,...
17 3 10001 1000,1,10001,...
18 3 10010 100,10,10010,...
19 8 10011 100,1,1100,11,1001,11001,110011,10011,...
20 3 10100 10,100,10100,...
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, May 12 2019
STATUS
approved