OFFSET
0,3
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..8191
Rémy Sigrist, PARI program
FORMULA
a(2^k - 1) = 2^k - 1 for any k >= 0.
a(2^k) = 2^k for any k >= 0.
EXAMPLE
A361481(42) = 39, so a(39) = 42.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 14 2023
STATUS
approved