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!)
A138405 a(n) = prime(n)^5 - prime(n)^2. 4

%I #27 Jan 17 2023 17:49:33

%S 28,234,3100,16758,160930,371124,1419568,2475738,6435814,20510308,

%T 28628190,69342588,115854520,147006594,229342798,418192684,714920818,

%U 844592580,1350120618,1804224310,2073066264,3077050158,3939033754,5584051528,8587330848,10510090300

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

%H Vincenzo Librandi, <a href="/A138405/b138405.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>

%F a(n) = A001248(n)*(A030078(n) - 1). - _Elmo R. Oliveira_, Jan 14 2023

%F From _Alois P. Heinz_, Jan 17 2023: (Start)

%F a(n) = 2 * A138431(n).

%F a(n) = A050997(n) - A001248(n). (End)

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

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

%o (Magma) [NthPrime((n))^5 - NthPrime((n))^2: n in [1..30] ]; // _Vincenzo Librandi_, Jun 17 2011

%Y Cf. A001248, A030078, A050997, A138431.

%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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)