login
A276958
Permutation of natural numbers: a(A255411(n)) = A153880(n), a(A256450(n)) = A273670(n).
2
1, 3, 4, 2, 5, 7, 9, 10, 11, 13, 15, 6, 16, 17, 18, 8, 19, 12, 20, 21, 22, 14, 23, 25, 27, 28, 29, 31, 33, 34, 35, 37, 39, 40, 41, 42, 43, 44, 45, 46, 47, 49, 51, 52, 53, 55, 57, 24, 58, 59, 61, 26, 63, 64, 65, 66, 67, 68, 69, 30, 70, 71, 73, 32, 75, 36, 76, 77, 79, 38, 81, 48, 82, 83, 85, 50, 87, 88, 89, 90, 91, 92, 93, 54
OFFSET
1,2
FORMULA
If A257680(n) = 0, then a(n) = A153880(A257684(n)), otherwise a(n) = A273670(A273662(n)).
PROG
(Scheme) (define (A276958 n) (cond ((zero? n) n) ((zero? (A257680 n)) (A153880 (A257684 n))) (else (A273670 (A273662 n)))))
CROSSREFS
Inverse: A276957.
For more recursed variants see: A275846, A275848 & A273668.
Sequence in context: A056699 A297969 A127296 * A275848 A367651 A214929
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 22 2016
STATUS
approved