login
A268824
Permutation of nonnegative integers: a(0) = 0, a(n) = 1 + A268822(A268718(n)-1).
7
0, 1, 3, 2, 9, 5, 4, 6, 13, 17, 16, 18, 10, 8, 15, 7, 21, 25, 24, 26, 34, 32, 23, 31, 14, 12, 27, 11, 33, 29, 28, 30, 37, 41, 40, 42, 50, 48, 39, 47, 62, 60, 43, 59, 49, 45, 44, 46, 22, 20, 51, 19, 57, 53, 52, 54, 61, 65, 64, 66, 58, 56, 63, 55, 69, 73, 72, 74, 82, 80, 71, 79, 94, 92, 75, 91, 81, 77, 76, 78, 118, 116, 83, 115, 89, 85
OFFSET
0,3
COMMENTS
The "third shifted power" of permutation A268718.
FORMULA
a(0) = 0, a(n) = 1 + A268822(A268718(n)-1).
a(0) = 0, a(1) = 1, for n>1: a(n) = 2 + A268718(-1+A268718(-1+A268718(n))).
PROG
(Scheme) (define (A268824 n) (if (<= n 1) n (+ 2 (A268718 (+ -1 (A268718 (+ -1 (A268718 n))))))))
CROSSREFS
Inverse: A268823.
Row 3 of array A268830.
Sequence in context: A193980 A194001 A178230 * A306470 A251560 A064614
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 14 2016
STATUS
approved