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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A138418 a(n) = ((n-th prime)^4-(n-th prime)^2)/2. 3
 6, 36, 300, 1176, 7260, 14196, 41616, 64980, 139656, 353220, 461280, 936396, 1412040, 1708476, 2438736, 3943836, 6056940, 6921060, 10073316, 12703320, 14196456, 19471920, 23725716, 31367160, 44259936, 52025100, 56270136 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..200 FORMULA a(n) = A138402(n)/2. - R. J. Mathar, Oct 15 2017 a(n) = binomial(prime(n)^2, 2) = A000217(A001248(n)). - Jon Maiga, Nov 14 2018 MATHEMATICA a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^2)/2], {n, 1, 50}]; a PROG (MAGMA) [(NthPrime((n))^4 - NthPrime((n))^2)/2: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011 (PARI) forprime(p=2, 1e3, print1((p^4-p^2)/2", ")) \\ Charles R Greathouse IV, Jul 15 2011 CROSSREFS Sequence in context: A330449 A134008 A125795 * A064239 A047898 A337042 Adjacent sequences:  A138415 A138416 A138417 * A138419 A138420 A138421 KEYWORD nonn,easy AUTHOR Artur Jasinski, Mar 19 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.

Last modified July 30 04:47 EDT 2021. Contains 346348 sequences. (Running on oeis4.)