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!)
A141101 a(n) = prime(2*n) - 2*n. 1
1, 3, 7, 11, 19, 25, 29, 37, 43, 51, 57, 65, 75, 79, 83, 99, 105, 115, 125, 133, 139, 149, 153, 175, 179, 187, 197, 207, 213, 221, 231, 247, 251, 269, 279, 287, 299, 307, 319, 329, 339, 349, 357, 369, 373, 387, 397, 407, 423, 441, 455, 465, 471, 485, 491, 501 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A031215(n) - A005843(n). - Michel Marcus, Feb 01 2019 [Corrected by Georg Fischer, Dec 13 2022]
a(n) = A014689(A005843(n)). - Michel Marcus, Dec 13 2022
EXAMPLE
a(1) = prime(2*1) - 1*2 = prime(2) - 2 = 3 - 2 = 1.
a(4) = prime(2*4) - 4*2 = prime(8) - 8 = 19 - 8 = 11.
MAPLE
p:= ithprime: a:= seq(p(2*n)-2*n, n=1..100); # D. S. McNeil, Mar 21 2009
PROG
(PARI) a(n) = prime(2*n) - 2*n; \\ Michel Marcus, Dec 13 2022
CROSSREFS
Sequence in context: A231847 A105876 A354801 * A236632 A098379 A329482
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(32), a(40) corrected and extended by D. S. McNeil, Mar 21 2009
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 July 21 21:26 EDT 2024. Contains 374475 sequences. (Running on oeis4.)