Is there a closed form for the sequence $1, 2, 4, 3, 6, 10, 12, 4, 8, 18, 6, 11, ... $?

92 Views Asked by At

This sequence is generated from: the least $m>0$ such that $2n+1 |2^m-1$

I was wondering if there was a way to express it in a closed from $f(2n+1)$?

More terms include: $1, 2, 4, 3, 6, 10, 12, 4, 8, 18, 6, 11, 20, 18, 28, 5, 10, 12, 36, 12, 20, 14, 12, 23, 21, ...$

With the full list on: https://oeis.org/A002326