login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A014303
a(n) = prime(n)*(prime(n+1)-1)/2.
2
2, 6, 15, 35, 66, 104, 153, 209, 322, 435, 558, 740, 861, 989, 1222, 1537, 1770, 2013, 2345, 2556, 2847, 3239, 3652, 4272, 4850, 5151, 5459, 5778, 6104, 7119, 8255, 8908, 9453, 10286, 11175, 11778, 12717
OFFSET
1,1
LINKS
FORMULA
a(n) = A000040(n)*A005097(n). - Omar E. Pol, Sep 14 2013
MATHEMATICA
(#[[1]](#[[2]]-1))/2&/@Partition[Prime[Range[40]], 2, 1] (* Harvey P. Dale, Jan 13 2014 *)
PROG
(PARI) vector(40, n, prime(n)*(prime(n+1)-1)/2) \\ G. C. Greubel, Jun 12 2019
(Magma) [NthPrime(n)*(NthPrime(n+1)-1)/2: n in [1..40]]; // G. C. Greubel, Jun 12 2019
(Sage) [nth_prime(n)*(nth_prime(n+1)-1)/2 for n in (1..40)] # G. C. Greubel, Jun 12 2019
CROSSREFS
KEYWORD
nonn,easy
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 08:19 EDT 2024. Contains 376097 sequences. (Running on oeis4.)