login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A361399
a(n) is the least k such that the binary expansion of n is a self-infiltration of that of k.
1
0, 1, 2, 1, 2, 5, 2, 3, 4, 5, 2, 5, 2, 5, 6, 3, 4, 9, 10, 5, 4, 5, 10, 11, 4, 5, 6, 5, 6, 13, 6, 7, 8, 9, 18, 9, 4, 9, 10, 11, 4, 9, 10, 5, 10, 5, 22, 11, 4, 9, 10, 5, 10, 5, 6, 11, 12, 13, 6, 13, 6, 13, 14, 7, 8, 17, 18, 9, 18, 9, 18, 19, 8, 9, 10, 19, 10, 21
OFFSET
0,3
COMMENTS
See A361398 for the definition of an infiltration (a self-infiltration is an infiltration a of word with itself).
a(n) is the index of the first row of A361401 containing n.
FORMULA
a(n) <= n.
a(A020330(n)) = n.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 10 2023
STATUS
approved