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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A152117 a(n) = n*(n-th prime) + (n+1)*((n+1)-th prime). 9
8, 21, 43, 83, 133, 197, 271, 359, 497, 631, 785, 977, 1135, 1307, 1553, 1851, 2101, 2371, 2693, 2953, 3271, 3647, 4045, 4561, 5051, 5407, 5777, 6157, 6551, 7327, 8129, 8713, 9247, 9941, 10651, 11245, 12003, 12707, 13433, 14259, 14941, 15815, 16705 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) = A033286(n) + A033286(n+1).

LINKS

Klaus Brockhaus, Table of n, a(n) for n=1..1000

EXAMPLE

5*(fifth prime) + 6*(sixth prime) = 5*11 + 6*13 = 55 + 78 = 133.

MATHEMATICA

Total/@Partition[Times@@@Table[{n, Prime[n]}, {n, 50}], 2, 1] (* Harvey P. Dale, Aug 13 2019 *)

PROG

(MAGMA) [ n*NthPrime(n)+(n+1)*NthPrime(n+1): n in [1..43] ];

(PARI) a(n) = n*prime(n) + (n+1)*prime(n+1); \\ Michel Marcus, Feb 05 2016

CROSSREFS

Cf. A000040 (prime numbers), A033286 (n*(n-th prime)), A033287 (first differences of A033286), A119487 (primes in this sequence).

Sequence in context: A190456 A188026 A180672 * A075629 A273602 A258448

Adjacent sequences:  A152114 A152115 A152116 * A152118 A152119 A152120

KEYWORD

nonn

AUTHOR

Klaus Brockhaus, Dec 10 2008

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 January 23 07:07 EST 2020. Contains 331168 sequences. (Running on oeis4.)