The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A138406 a(n) = prime(n)^5 - prime(n)^3. 10

%I

%S 24,216,3000,16464,159720,369096,1414944,2469240,6424176,20486760,

%T 28599360,69293304,115787280,146928936,229241184,418046616,714718920,

%U 844369320,1349824344,1803871440,2072682576,3076563360,3938468856

%N a(n) = prime(n)^5 - prime(n)^3.

%H Vincenzo Librandi, <a href="/A138406/b138406.txt">Table of n, a(n) for n = 1..200</a>

%H <a href="/index/Pri#prime_powers">Index to sequences related to prime powers</a>

%t a = {}; Do[p = Prime[n]; AppendTo[a, p^5 - p^3], {n, 1, 50}]; a

%o (PARI) forprime(p=2,1e3,print1(p^5-p^3", ")) \\ _Charles R Greathouse IV_, Jun 16 2011

%o (Magma) [NthPrime((n))^5 - NthPrime((n))^3: n in [1..30] ]; // _Vincenzo Librandi_, Jun 17 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.

Last modified February 6 03:21 EST 2023. Contains 360091 sequences. (Running on oeis4.)