cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A138419 a(n) = (prime(n)^4 - prime(n)^2)/3.

This page as a plain text file.
%I A138419 #15 Sep 08 2022 08:45:33
%S A138419 4,24,200,784,4840,9464,27744,43320,93104,235480,307520,624264,941360,
%T A138419 1138984,1625824,2629224,4037960,4614040,6715544,8468880,9464304,
%U A138419 12981280,15817144,20911440,29506624,34683400,37513424,43689384
%N A138419 a(n) = (prime(n)^4 - prime(n)^2)/3.
%H A138419 Vincenzo Librandi, <a href="/A138419/b138419.txt">Table of n, a(n) for n = 1..200</a>
%F A138419 a(n) = A138402(n)/3. - _R. J. Mathar_, Oct 15 2017
%t A138419 a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^2)/3], {n, 1, 50}]; a
%t A138419 (#^4-#^2)/3&/@Prime[Range[30]] (* _Harvey P. Dale_, Jun 30 2017 *)
%o A138419 (Magma) [(NthPrime((n))^4 - NthPrime((n))^2)/3: n in [1..30] ]; // _Vincenzo Librandi_, Jun 17 2011
%o A138419 (PARI) forprime(p=2,1e3,print1((p^4-p^2)/3", ")) \\ _Charles R Greathouse IV_, Jul 15 2011
%K A138419 nonn,easy
%O A138419 1,1
%A A138419 _Artur Jasinski_, Mar 19 2008