Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A071065
A permutation of natural numbers: a(1)=2 a(n) is the smallest integer different from a(1), a(2), a(3), ..., a(n-1) such that a(n)+n is prime.
1
2, 1, 4, 3, 6, 5, 10, 9, 8, 7, 12, 11, 16, 15, 14, 13, 20, 19, 18, 17, 22, 21, 24, 23, 28, 27, 26, 25, 30, 29, 36, 35, 34, 33, 32, 31, 42, 41, 40, 39, 38, 37, 46, 45, 44, 43, 50, 49, 48, 47, 52, 51, 54, 53, 58, 57, 56, 55, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 70, 69, 78, 77
OFFSET
1,1
COMMENTS
a(a(n))=n: a self-inverse permutation with A010051(a(n)+n)=1. - Reinhard Zumkeller, Nov 25 2004
CROSSREFS
Cf. A083569.
Sequence in context: A361740 A073672 A306230 * A359946 A328654 A035552
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, May 26 2002
EXTENSIONS
Corrected and extended by Lior Manor May 27 2002
STATUS
approved