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!)
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
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
Sequence in context: A082097 A088299 A287068 * A191929 A082728 A359629
KEYWORD
nonn
AUTHOR
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 May 6 09:23 EDT 2024. Contains 372293 sequences. (Running on oeis4.)