[go: up one dir, main page]

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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138419 a(n) = (prime(n)^4 - prime(n)^2)/3. 3
4, 24, 200, 784, 4840, 9464, 27744, 43320, 93104, 235480, 307520, 624264, 941360, 1138984, 1625824, 2629224, 4037960, 4614040, 6715544, 8468880, 9464304, 12981280, 15817144, 20911440, 29506624, 34683400, 37513424, 43689384 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A138402(n)/3. - R. J. Mathar, Oct 15 2017
MATHEMATICA
a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^2)/3], {n, 1, 50}]; a
(#^4-#^2)/3&/@Prime[Range[30]] (* Harvey P. Dale, Jun 30 2017 *)
PROG
(Magma) [(NthPrime((n))^4 - NthPrime((n))^2)/3: n in [1..30] ]; // Vincenzo Librandi, Jun 17 2011
(PARI) forprime(p=2, 1e3, print1((p^4-p^2)/3", ")) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A099021 A220690 A136229 * A366341 A341727 A089946
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 29 13:17 EDT 2024. Contains 375517 sequences. (Running on oeis4.)