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

%I #7 Oct 15 2017 10:21:38

%S 10,120,2600,19600,295240,804440,4022880,7840920,24672560,99137080,

%T 147917120,427620840,791683760,1053560200,1796535520,3694059720,

%U 7030088360,8586728440,15076396280,21350046480,25222370160,40514574880

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

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

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

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

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Mar 19 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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)