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.

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

This page as a plain text file.
%I A138423 #15 Dec 25 2024 12:13:32
%S A138423 4,27,250,1029,6655,13182,39304,61731,133837,341446,446865,911754,
%T A138423 1378420,1669647,2387929,3870802,5955991,6809430,9925179,12526885,
%U A138423 14004612,19228521,23443267,31018636,43808304,51515050,55729077
%N A138423 a(n) = (prime(n)^4 - prime(n)^3)/2.
%H A138423 Vincenzo Librandi, <a href="/A138423/b138423.txt">Table of n, a(n) for n = 1..200</a>
%F A138423 a(n) = A138403(n)/2. - _R. J. Mathar_, Oct 15 2017
%t A138423 a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^3)/2], {n, 1, 50}]; a
%t A138423 (#^4-#^3)/2&/@Prime[Range[30]] (* _Harvey P. Dale_, Dec 25 2024 *)
%o A138423 (Magma) [(NthPrime((n))^4 - NthPrime((n))^3)/2: n in [1..30] ]; // _Vincenzo Librandi_, Jun 18 2011
%o A138423 (PARI) forprime(p=2,1e3,print1((p^4-p^3)/2", ")) \\ _Charles R Greathouse IV_, Jul 15 2011
%K A138423 nonn,easy
%O A138423 1,1
%A A138423 _Artur Jasinski_, Mar 19 2008