login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A332166
Inverse permutation to A332144.
2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 16, 20, 25, 31, 38, 46, 55, 12, 14, 17, 21, 26, 32, 39, 47, 56, 64, 15, 18, 22, 27, 33, 40, 48, 57, 65, 72, 19, 23, 28, 34, 41, 49, 58, 66, 73, 79, 24, 29, 35, 42, 50, 59, 67, 74, 80, 85, 30, 36, 43, 51, 60, 68, 75, 81
OFFSET
0,3
FORMULA
a(10^k - 1) = 10^k - 1 for any k >= 0.
a(10^k) = 10^k for any k >= 0.
a(10^k + 1) = 10^k + 1 for any k >= 0.
EXAMPLE
A332144(28) = 42, so a(42) = 28.
PROG
(PARI) See Links section.
CROSSREFS
Cf. A332144.
Sequence in context: A371022 A107062 A178538 * A017904 A368902 A376278
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Nov 20 2020
STATUS
approved