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.

A138442 a(n) = ((n-th prime)^6-(n-th prime^2))/3.

This page as a plain text file.
%I A138442 #9 Oct 20 2024 14:37:43
%S A138442 20,240,5200,39200,590480,1608880,8045760,15681840,49345120,198274160,
%T A138442 295834240,855241680,1583367520,2107120400,3593071040,7388119440,
%U A138442 14060176720,17173456880,30152792560,42700092960,50444740320
%N A138442 a(n) = ((n-th prime)^6-(n-th prime^2))/3.
%F A138442 a(n) = A138409(n)/3. - _R. J. Mathar_, Oct 15 2017
%t A138442 a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^2)/3], {n, 1, 50}]; a
%t A138442 (#^6-#^2)/3&/@Prime[Range[30]] (* _Harvey P. Dale_, Oct 20 2024 *)
%o A138442 (PARI) forprime(p=2,1e3,print1((p^6-p^2)/3", ")) \\ _Charles R Greathouse IV_, Jul 15 2011
%K A138442 nonn,easy
%O A138442 1,1
%A A138442 _Artur Jasinski_, Mar 19 2008