OFFSET
1,1
COMMENTS
This is probably a permutation of the positive integers.
a(2*n+1) is always prime. - Sean A. Irvine, May 21 2019
a(2*n) is always nonprime. - Sean A. Irvine, May 21 2019
LINKS
Carole Dubois, Table of n, a(n) for n = 1..1338
EXAMPLE
The sequence starts with 2, 4, 5, 1, 3, 6, 19, 8, 7, ... and we see that:
a(1) + a(2) = 2 + 4 = 6 (nonprime sum of a prime and a nonprime);
a(2) + a(3) = 4 + 5 = 9 (nonprime sum of a nonprime and a prime);
a(3) + a(4) = 5 + 1 = 6 (nonprime sum of a prime and a nonprime);
a(4) + a(5) = 1 + 3 = 4 (nonprime sum of a nonprime and a prime);
a(5) + a(6) = 3 + 6 = 9 (nonprime sum of a prime and a nonprime); etc.
CROSSREFS
KEYWORD
nonn
AUTHOR
Carole Dubois and Eric Angelini, May 20 2019
EXTENSIONS
Comments corrected by Rémy Sigrist, May 22 2019
STATUS
approved