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!)
A272042 a(n) = 2*prime(2n) - prime(n). 1
4, 11, 21, 31, 47, 61, 69, 87, 99, 113, 127, 141, 161, 171, 179, 209, 219, 241, 259, 275, 289, 307, 315, 357, 361, 377, 399, 419, 433, 449, 459, 491, 497, 535, 549, 567, 589, 603, 627, 645, 663, 685, 695, 721, 729 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 3n*log n + 3n*log log n - (3-log 2)*n + O(n log log n/log n). - Charles R Greathouse IV, Apr 18 2016
a(n) = A072473(n) + A031215(n). - R. J. Mathar, Apr 20 2016
EXAMPLE
For n=1, 2*prime(2*1)-prime(1) = 2*3 - 2 = 4.
For n=10, 2*prime(2*10)-prime(10) = 2*71 - 29 = 113.
MATHEMATICA
Table[2*Prime[2 n] - Prime[n], {n, 1, 45}]
PROG
(PARI) a(n) = 2*prime(2*n) - prime(n) \\ Charles R Greathouse IV, Apr 18 2016
CROSSREFS
Sequence in context: A297961 A240155 A161975 * A301135 A008052 A016438
KEYWORD
nonn,easy
AUTHOR
Andres Cicuttin, Apr 18 2016
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 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)