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.

A138422 a(n) = (prime(n)^4 - prime(n)^2)/12.

This page as a plain text file.
%I A138422 #13 Sep 08 2022 08:45:33
%S A138422 1,6,50,196,1210,2366,6936,10830,23276,58870,76880,156066,235340,
%T A138422 284746,406456,657306,1009490,1153510,1678886,2117220,2366076,3245320,
%U A138422 3954286,5227860,7376656,8670850,9378356,10922346,11762190,13586216,21677376
%N A138422 a(n) = (prime(n)^4 - prime(n)^2)/12.
%H A138422 Vincenzo Librandi, <a href="/A138422/b138422.txt">Table of n, a(n) for n = 1..200</a>
%F A138422 a(n) = A138402(n)/12. - _R. J. Mathar_, Oct 15 2017
%t A138422 a = {}; Do[p = Prime[n]; AppendTo[a, (p^4 - p^2)/12], {n, 1, 50}]; a
%o A138422 (Magma) [(NthPrime((n))^4 - NthPrime((n))^2)/12: n in [1..40] ]; // _Vincenzo Librandi_, Jun 17 2011
%o A138422 (PARI) forprime(p=2,1e3,print1((p^4-p^2)/12", ")) \\ _Charles R Greathouse IV_, Jul 15 2011
%K A138422 nonn,easy
%O A138422 1,2
%A A138422 _Artur Jasinski_, Mar 19 2008