login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A013635 a(n) = prevprime(n) + n. 1
5, 7, 8, 11, 12, 15, 16, 17, 18, 23, 24, 27, 28, 29, 30, 35, 36, 39, 40, 41, 42, 47, 48, 49, 50, 51, 52, 59, 60, 63, 64, 65, 66, 67, 68, 75, 76, 77, 78, 83, 84, 87, 88, 89, 90, 95, 96, 97, 98, 99, 100, 107, 108, 109, 110, 111, 112, 119, 120, 123, 124, 125, 126 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 3..5000

MAPLE

[ seq(prevprime(i)+i, i=3..100) ];

MATHEMATICA

Table[n+NextPrime[n, -1], {n, 3, 60}] (* Harvey P. Dale, Mar 29 2019 *)

PROG

(MAGMA) [n + PreviousPrime(n): n in [3..70]]; // Vincenzo Librandi, Mar 30 2019

(PARI) a(n) = precprime(n-1) + n; \\ Michel Marcus, Mar 30 2019

CROSSREFS

Cf. A007917, A049711.

Sequence in context: A082097 A088299 A287068 * A191929 A082728 A285081

Adjacent sequences:  A013632 A013633 A013634 * A013636 A013637 A013638

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 22 05:54 EST 2020. Contains 332116 sequences. (Running on oeis4.)