login
A276957
Permutation of natural numbers: a(A153880(n)) = A255411(n), a(A273670(n)) = A256450(n).
2
1, 4, 2, 3, 5, 12, 6, 16, 7, 8, 9, 18, 10, 22, 11, 13, 14, 15, 17, 19, 20, 21, 23, 48, 24, 52, 25, 26, 27, 60, 28, 64, 29, 30, 31, 66, 32, 70, 33, 34, 35, 36, 37, 38, 39, 40, 41, 72, 42, 76, 43, 44, 45, 84, 46, 88, 47, 49, 50, 90, 51, 94, 53, 54, 55, 56, 57, 58, 59, 61, 62, 96, 63, 100, 65, 67, 68, 108, 69, 112, 71, 73
OFFSET
1,2
FORMULA
If A276950(n) = 0, then a(n) = A255411(A266193(n)), otherwise a(n) = A256450(A273663(n)).
PROG
(Scheme) (define (A276957 n) (cond ((zero? n) n) ((zero? (A276950 n)) (A255411 (A266193 n))) (else (A256450 (A273663 n)))))
CROSSREFS
Inverse: A276958.
For more recursed variants see: A275845, A275847 & A273667.
Sequence in context: A160079 A226939 A123403 * A275847 A243961 A098317
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 22 2016
STATUS
approved