login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255000 Prime(n + d(n)), with d(n) = prime(n+1) - prime(n), for n >= 1. 0
3, 7, 11, 19, 17, 29, 23, 37, 47, 37, 59, 53, 47, 61, 73, 79, 67, 89, 83, 79, 103, 101, 109, 131, 109, 107, 127, 113, 137, 193, 149, 163, 149, 193, 157, 181, 191, 181, 197, 199, 191, 239, 197, 223, 211, 271, 277, 239, 233, 251, 269, 251, 307, 281, 283, 293 (list; graph; refs; listen; history; text; internal format)
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.
LINKS
FORMULA
a(n) = prime(n + prime(n + 1) - prime(n)) = A000040(n + A001223(n)).
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
Sequence in context: A071979 A335323 A097748 * A244570 A049645 A167181
KEYWORD
nonn,easy
AUTHOR
Waldemar Puszkarz, Feb 11 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)