login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271512 a(n) = (p+1)*(p+2)*(p+3)/6 where p is the n-th prime. 1
10, 20, 56, 120, 364, 560, 1140, 1540, 2600, 4960, 5984, 9880, 13244, 15180, 19600, 27720, 37820, 41664, 54740, 64824, 70300, 88560, 102340, 125580, 161700, 182104, 192920, 215820, 227920, 253460, 357760, 392084, 447580, 467180, 573800, 596904, 669920, 748660 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Subsequence of A000292.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

FORMULA

a(n) = A000292(A000040(n)). - Michel Marcus, Apr 10 2016

MAPLE

A271512:=n->(ithprime(n)+1)*(ithprime(n)+2)*(ithprime(n)+3)/6: seq(A271512(n), n=1..80); # Wesley Ivan Hurt, Apr 10 2016

MATHEMATICA

Table[(Prime[n]^3 + 6 Prime[n]^2 + 11 Prime[n] + 6) / 6, {n, 50}]

PROG

(MAGMA) [(p+1)*(p+2)*(p+3) / 6: p in PrimesUpTo(200)];

(Python)

from sympy import prime

for n in xrange(1, 1000):

    p=prime(n)

    print((int)(((p+1)*(p+2)*(p+3))/6))

# Soumil Mandal, Apr 11 2016

(PARI) lista(nn) = forprime(p=2, nn, print1((p+1)*(p+2)*(p+3)/6, ", ")); \\ Altug Alkan, Apr 10 2016

CROSSREFS

Cf. A000040, A000292, A271511.

Sequence in context: A188896 A067192 A030004 * A294473 A174183 A267554

Adjacent sequences:  A271509 A271510 A271511 * A271513 A271514 A271515

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Apr 10 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 16 12:35 EDT 2018. Contains 316263 sequences. (Running on oeis4.)