%I #39 Feb 12 2023 05:38:25
%S 30,240,3120,16800,161040,371280,1419840,2476080,6436320,20511120,
%T 28629120,69343920,115856160,147008400,229344960,418195440,714924240,
%U 844596240,1350125040,1804229280,2073071520,3077056320,3939040560
%N a(n) = prime(n)^5 - prime(n).
%C Subsequence of A061167. - _Bernard Schott_, Feb 06 2023
%H Vincenzo Librandi, <a href="/A138404/b138404.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) = A050997(n) - A000040(n). - _Elmo R. Oliveira_, Jan 27 2023
%F From _Bernard Schott_, Feb 09 2023: (Start)
%F a(n) = A061167(A000040(n)).
%F a(n) = 30 * A138430(n).
%F a(n) = A000040(n) * A006093(n) * A008864(n) * A066872(n). (End)
%t a = {}; Do[p = Prime[n]; AppendTo[a, p^5 - p], {n, 1, 50}]; a
%t #^5-#&/@Prime[Range[30]] (* _Harvey P. Dale_, Dec 25 2022 *)
%o (PARI) forprime(p=2,1e3,print1(p^5-p", ")) \\ _Charles R Greathouse IV_, Jun 16 2011
%o (Magma) [NthPrime((n))^5 - NthPrime((n)): n in [1..30] ]; // _Vincenzo Librandi_, Jun 17 2011
%Y Cf. A000040, A006093, A008864, A050997, A061167, A066872, A138430.
%K nonn,easy
%O 1,1
%A _Artur Jasinski_, Mar 19 2008