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!)
A138441 a(n) = ((n-th prime)^6-(n-th prime^2))/2. 5

%I #11 Dec 20 2021 18:44:49

%S 30,360,7800,58800,885720,2413320,12068640,23522760,74017680,

%T 297411240,443751360,1282862520,2375051280,3160680600,5389606560,

%U 11082179160,21090265080,25760185320,45229188840,64050139440,75667110480,121543724640,163470183240

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

%F a(n) = A138409(n)/2. - _R. J. Mathar_, Oct 15 2017

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

%t (#^6-#^2)/2&/@Prime[Range[30]] (* _Harvey P. Dale_, Dec 20 2021 *)

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

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Mar 19 2008

%E Corrected by _N. J. A. Sloane_ May 15 2008 (all the entries were wrong)

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 May 7 09:15 EDT 2024. Contains 372302 sequences. (Running on oeis4.)