login
A371237
Inverse permutation to A371236.
2
1, 2, 4, 3, 7, 5, 11, 16, 6, 22, 29, 12, 8, 17, 37, 46, 9, 56, 30, 18, 10, 13, 67, 23, 79, 19, 14, 92, 57, 106, 24, 15, 38, 121, 31, 47, 137, 20, 154, 58, 172, 39, 32, 21, 25, 48, 68, 191, 211, 122, 33, 26, 232, 138, 254, 49, 155, 277, 27, 40, 301, 59, 326, 80
OFFSET
1,2
FORMULA
a(n) - 1 <= A000217(n - 1).
EXAMPLE
A371236(42) = 78, so a(78) = 42.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A056536 A258237 A361939 * A377094 A108228 A127008
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Mar 16 2024
STATUS
approved