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!)
A138454 a(n) = ((n-th prime)^6-(n-th prime)^4)/3. 3

%I #11 Dec 29 2023 10:38:51

%S 16,216,5000,38416,585640,1599416,8018016,15638520,49252016,198038680,

%T 295526720,854617416,1582426160,2105981416,3591445216,7385490216,

%U 14056138760,17168842840,30146077016,42691624080,50435276016

%N a(n) = ((n-th prime)^6-(n-th prime)^4)/3.

%H Harvey P. Dale, <a href="/A138454/b138454.txt">Table of n, a(n) for n = 1..1000</a>

%t a = {}; Do[p = Prime[n]; AppendTo[a, (p^6 - p^4)/3], {n, 1, 24}]; a

%t (#^6-#^4)/3&/@Prime[Range[30]] (* _Harvey P. Dale_, Apr 22 2019 *)

%o (PARI) forprime(p=2,1e3,print1((p^6-p^4)/3", ")) \\ _Charles R Greathouse IV_, Jul 15 2011

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Mar 22 2008

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 April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)