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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A127920 1/6 of product of three numbers: n-th prime, previous and following number. 7
1, 4, 20, 56, 220, 364, 816, 1140, 2024, 4060, 4960, 8436, 11480, 13244, 17296, 24804, 34220, 37820, 50116, 59640, 64824, 82160, 95284, 117480, 152096, 171700, 182104, 204156, 215820, 240464, 341376, 374660, 428536, 447580, 551300, 573800, 644956 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

a(n) = A127918(n)/2. - Michel Marcus, Apr 09 2017

MATHEMATICA

Table[(Prime[n] + 1) Prime[n](Prime[n] - 1)/6, {n, 1, 100}]

PROG

(PARI) forprime(p=2, 1e3, print1(binomial(p+1, 3)", ")) \\ Charles R Greathouse IV, Jun 16 2011

(Python)

from sympy import prime

print [(prime(n) - 1)*prime(n)*(prime(n) + 1)/6 for n in xrange(1, 101)] # Indranil Ghosh, Apr 09 2017

(MAGMA) [(NthPrime(n) + 1)*NthPrime(n)*(NthPrime(n) - 1)/6: n in [1..40]]; // Vincenzo Librandi, Apr 09 2017

CROSSREFS

Cf. A036689, A034953, A127917, A127918, A127919.

Sequence in context: A035007 A047810 A002492 * A060122 A066970 A196295

Adjacent sequences:  A127917 A127918 A127919 * A127921 A127922 A127923

KEYWORD

nonn,easy

AUTHOR

Artur Jasinski, Feb 06 2007

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 June 29 01:46 EDT 2017. Contains 288856 sequences.