OFFSET
1,1
COMMENTS
This sequence is not a mere permutation of primes, for some of them will be excluded from it, e.g., 5, 13, 31, 71, 97.
EXAMPLE
a(1) = prime(1 + prime(2) - prime(1)) = prime(1 + 3 - 2) = prime(2) = 3.
MATHEMATICA
Table[Prime[n + Prime[n + 1] - Prime[n]], {n, 100}]
PROG
(PARI) vector(100, n, prime(n+prime(n+1)-prime(n))) \\ Derek Orr, Feb 19 2015
(Magma) [NthPrime(n+NthPrime(n+1)-NthPrime(n)): n in [1..60]]; // Vincenzo Librandi, Feb 23 2015
(Sage) [nth_prime(n+nth_prime(n+1)-nth_prime(n)) for n in (1..60)] # Bruno Berselli, Mar 02 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Waldemar Puszkarz, Feb 11 2015
STATUS
approved